Improper Input Validation Affecting rosenpass package, versions <0.2.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ROSENPASS-6137979
  • published22 Dec 2023
  • disclosed21 Dec 2023
  • creditUnknown

Introduced: 21 Dec 2023

CVE NOT AVAILABLE CWE-20  (opens in a new tab)

How to fix?

Upgrade rosenpass to version 0.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to size of buffers not being properly checked when attempting to decode messages. An attacker can trigger a panic by sending a UDP datagram with a 1 byte payload over network.

CVSS Base Scores

version 3.1