Advisory

GHSA-7g9j-g5jg-3vv3

Also known as: CVE-2024-58265, RUSTSEC-2024-0011

Summary

Unauthenticated Nonce Increment in snow

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-01-24 20:53 UTC
Modified
2025-07-28 16:27 UTC

Affected packages and fixes

snow

crates.io · All systems

Affected

  • introduced 0, fixed 0.9.5 (semver)

Fixed versions

0.9.5

Fix

  • Fixed version 0.9.5
    cargo update -p snow --precise 0.9.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences