Uninitialized Memory Exposure Affecting parity-ws package, versions <0.10.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (44th percentile)

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 IDSNYK-RUST-PARITYWS-1013849
  • published29 Sept 2020
  • disclosed25 Sept 2020
  • creditUnknown

Introduced: 25 Sep 2020

CVE-2020-35896  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade parity-ws to version 0.10.0 or higher.

Overview

parity-ws is a Lightweight, event-driven WebSockets for Rust.

Affected versions of this package are vulnerable to Uninitialized Memory Exposure. It did not properly check and cap the growth of the outgoing buffer. This allows a remote attacker to take down the process by growing the buffer of their (single) connection until the process runs out of memory it can allocate and is killed.

CVSS Scores

version 3.1