Advisory

RUSTSEC-2024-0011

Also known as: CVE-2024-58265, GHSA-7g9j-g5jg-3vv3

Summary

Unauthenticated Nonce Increment in snow

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-01-23 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

snow

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences