Affected versions
Version ranges need review.
Exploitation
Description
Affected versions of 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.
Links
- https://crates.io/crates/rosenpass
- https://github.com/advisories/GHSA-6ggr-cwv4-g7qg
- https://github.com/rosenpass/rosenpass
- https://github.com/rosenpass/rosenpass/commit/93439858d1c44294a7b377f775c4fc897a370bb2
- https://nvd.nist.gov/vuln/detail/CVE-2023-53157
- https://rustsec.org/advisories/RUSTSEC-2023-0077.html

