PT-2020-17528 · Rust · Ws
Published
2020-09-25
·
Updated
2022-12-03
·
CVE-2020-35896
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
ws crate versions prior to 2020-09-25
Description
An issue in the ws crate allows a remote memory-consumption attack due to the outgoing buffer not being properly limited. This enables a remote attacker to take down the process by growing the buffer of their connection until the process runs out of memory. The flaw was corrected by disconnecting a client when the buffer runs full.
Recommendations
For ws crate versions prior to 2020-09-25, consider updating to the parity-ws fork version 0.10.0 or later, which includes the fix for this issue by disconnecting a client when the buffer runs full.
Fix
Resource Exhaustion
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ws