Severity
7.5HIGHNVD
EPSS
0.7%
top 27.64%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 1
Latest updateAug 6

Description

Rust-WebSocket is a WebSocket (RFC6455) library written in Rust. In versions prior to 0.26.5 untrusted websocket connections can cause an out-of-memory (OOM) process abort in a client or a server. The root cause of the issue is during dataframe parsing. Affected versions would allocate a buffer based on the declared dataframe size, which may come from an untrusted source. When `Vec::with_capacity` fails to allocate, the default Rust allocator will abort the current process, killing all threads.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

Also affects: Fedora 35, 36

Patches

🔴Vulnerability Details

3
OSV
Rust-WebSocket memory allocation based on untrusted length2022-08-06
GHSA
Rust-WebSocket memory allocation based on untrusted length2022-08-06
OSV
Unbounded memory allocation based on untrusted length2022-08-01
CVE-2022-35922 — Uncontrolled Resource Consumption | cvebase