Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rosenpass
  4. ›
  5. CVE-2023-53157

CVE-2023-53157: Remotely exploitable denial of service in Rosenpass

December 21, 2023 (updated July 28, 2025)

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.

References

  • github.com/advisories/GHSA-6ggr-cwv4-g7qg
  • github.com/rosenpass/rosenpass
  • github.com/rosenpass/rosenpass/commit/93439858d1c44294a7b377f775c4fc897a370bb2
  • nvd.nist.gov/vuln/detail/CVE-2023-53157
  • rustsec.org/advisories/RUSTSEC-2023-0077.html

Code Behaviors & Features

Detect and mitigate CVE-2023-53157 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.1

Fixed versions

  • 0.2.1

Solution

Upgrade to version 0.2.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency

Source file

cargo/rosenpass/CVE-2023-53157.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:16 +0000.