Uninitialized Memory Exposure Affecting ws package, versions *


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (42nd 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-WS-1300175
  • 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?

There is no fixed version for ws.

Overview

ws is a package that provides 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