GitHub Advisoryadvisory · crates.io

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

LOW Published 2024-01-24 Modified 2025-07-28 Official page ↗
Aliases
CVE-2024-58265
Ecosystem
crates.io
Packages
snow
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-440
Reviewed
2024-01-24

Affected packages

• crates.io snow: < 0.9.5 → fixed in 0.9.5

Description

Impact 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`. Patches This has been patched in version 0.9.5, and all users are recommended to update. References There will be a more formal report of this in the near future.

Related

Alias · CVE (1)

  • CVE-2024-58265 The snow crate before 0.9.5 for Rust, when stateful TransportState is used, allows incrementing a nonce and thereby denying message… vulnerability

Weakness · CWE (1)

  • CWE-440 Expected Behavior Violation weakness

References