RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0626

HandshakeState error rollback does not restore the CipherState, leading to unauthenticated DoS and potential encrypted public key leak

Reported
Issued
Package
snow (crates.io)
Type
Vulnerability
Categories
Keywords
#noise #protocol #cryptography
Aliases
References
CVSS Score
4.8 MEDIUM
CVSS Details
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality Impact
Low
Integrity Impact
None
Availability Impact
Low
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Patched
  • >=0.10.2
  • ^0.9.7

Description

In snow there is a rollback mechanism during the handshake phase to handle recovery from bad inputs, but it didn't cover the cipher key state, leading to a Denial of Service attack with tampered (but unauthenticated) input.

If the protocol had logic to re-attempt the encryption phase with known or chosen inputs, a limited disclosure of a sealed public key (in the XX pattern, for example) was possible.

Advisory available under CC0-1.0 license.