Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. snow
  4. ›
  5. GHSA-7g9j-g5jg-3vv3

GHSA-7g9j-g5jg-3vv3: Unauthenticated Nonce Increment in snow

January 24, 2024 (updated February 9, 2024)

There was a logic bug where unauthenticated payloads could still cause a nonce increment in snow’s internal state. For an attacker with the ability to inject packets into the channel Noise is talking over, this allows a denial-of-service type attack which could prevent communication as it causes the sending and receiving side to be expecting different nonce values than would arrive.

Note that this only affects those who are using the stateful TransportState, not those using StatelessTransportState.

References

  • github.com/advisories/GHSA-7g9j-g5jg-3vv3
  • github.com/mcginty/snow
  • github.com/mcginty/snow/commit/12e8ae55547ae297d5f70599e5c884ea891303eb
  • github.com/mcginty/snow/security/advisories/GHSA-7g9j-g5jg-3vv3
  • rustsec.org/advisories/RUSTSEC-2024-0011.html

Code Behaviors & Features

Detect and mitigate GHSA-7g9j-g5jg-3vv3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.5

Fixed versions

  • 0.9.5

Solution

Upgrade to version 0.9.5 or above.

Weakness

  • CWE-440: Expected Behavior Violation

Source file

cargo/snow/GHSA-7g9j-g5jg-3vv3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.