Rust-websocket Project Rust-websocket 0.22.1

CPE Details

Rust-websocket Project Rust-websocket 0.22.1
0.22.1
2023-03-06
21h15 +00:00
2023-03-07
14h10 +00:00
Alerte pour un CPE
Restez informé de toutes modifications pour un CPE spécifique.
Gestion des notifications

CPE Name: cpe:2.3:a:rust-websocket_project:rust-websocket:0.22.1:*:*:*:*:*:*:*

Informations

Vendor

rust-websocket_project

Product

rust-websocket

Version

0.22.1

Related CVE

Open and find in CVE List

CVE ID Publié Description Score Gravité
CVE-2022-35922 2022-08-01 21h35 +00:00 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. This affects only sync (non-Tokio) implementation. Async version also does not limit memory, but does not use `with_capacity`, so DoS can happen only when bytes for oversized dataframe or message actually got delivered by the attacker. The crashes are fixed in version 0.26.5 by imposing default dataframe size limits. Affected users are advised to update to this version. Users unable to upgrade are advised to filter websocket traffic externally or to only accept trusted traffic.
7.5
Haute