Rust advisories / rosenpass
Vulnerability MediumRUSTSEC-2023-0077 · rosenpass
RUSTSEC-2023-0077: Remotely exploitable DoS condition in Rosenpass <=0.2.0
Short answerA security vulnerability in the rosenpass crate: Remotely exploitable DoS condition in Rosenpass <=0.2.0. GitHub rates it Medium. Fixed in 0.2.1: update to a fixed version.
| Crate | rosenpass |
|---|---|
| Type | Vulnerability (denial-of-service) |
| Affected versions | Before 0.2.1. |
| Fixed in | 0.2.1 |
| Severity | Medium (GitHub rating) |
| Published | 2023-11-04 |
| Last changed | 2025-10-28 |
| Also known as | CVE-2023-53157, GHSA-6ggr-cwv4-g7qg |
What to do
- See which version you have:
cargo tree -i rosenpass(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p rosenpass. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplerosenpass = "0.2.1") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Affected version do this crate did not validate the size of buffers when attempting to decode messages.
This allows an attacker to trigger a panic by sending a UDP datagram with a 1 byte payload over network.
This flaw was corrected by validating the size of the buffers before attempting to decode the message.
References
- Package: crates.io/crates/rosenpass
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0077.html
- Web: github.com/rosenpass/rosenpass/commit/93439858d1c44294a7b377f775c4fc897a370bb2
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?