3.1low
Unauthenticated Nonce Increment in snow
- Severity
- 3.1low CVSS:3.1 by mitre
- Exploit likelihood
- 0.73% (higher than 50% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-7g9j-g5jg-3vv3RUSTSEC-2024-0011
Description
The snow crate before 0.9.5 for Rust, when stateful TransportState is used, allows incrementing a nonce and thereby denying message delivery.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mcginty snow | before 0.9.5 | CVE List, NVD |
| snow (crates.io) | before 0.9.5, from 0.0.0-0 before 0.9.5 | GitHub Advisory Database, RustSec Advisory Database |
All scores
| mitre | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Classification
What each source says
CVE List
The snow crate before 0.9.5 for Rust, when stateful TransportState is used, allows incrementing a nonce and thereby denying message delivery.
GitHub Advisory Database
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.
RustSec Advisory Database
There was a logic bug where unauthenticated payloads could still cause a nonce increment in snow's internal state. For an attacker with privileges to inject packets into the channel over which the Noise session operates, this could allow a denial-of-service attack which could prevent message delivery by sending garbage data.
Note that this only affects those who are using the stateful TransportState, not those using StatelessTransportState.
This has been patched in version 0.9.5, and all users are recommended to update.
NVD (es)
El paquete snow para Rust anterior a 0.9.5, cuando se usa TransportState con estado, permite incrementar un nonce y, por lo tanto, negar la entrega de mensajes.
References
| https://rustsec.org/advisories/RUSTSEC-2024-0011.html | advisory, third-party-advisory, web | |
| https://github.com/mcginty/snow/security/advisories/GHSA-7g9j-g5jg-3vv3 | vendor-advisory, web | |
| https://crates.io/crates/snow | package, product | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-58265 | advisory | |
| https://github.com/mcginty/snow/commit/12e8ae55547ae297d5f70599e5c884ea891303eb | web | |
| https://github.com/mcginty/snow | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58265 changed 2025-07-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7g9j-g5jg-3vv3 changed 2025-07-28 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2024-0011 changed 2026-10-12 | CC0-1.0 |
| NVD | CVE-2024-58265 changed 2026-06-17 | Public domain |