Advisory

RUSTSEC-2020-0043

Also known as: CVE-2020-35896, GHSA-rh7x-ppxx-p34c

Summary

Insufficient size checks in outgoing buffer in ws allows remote attacker to run the process out of memory

Details

Affected versions of this crate 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.

The flaw was corrected in the `parity-ws` fork (>=0.10.0) by disconnecting a client when the buffer runs full.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-09-25 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

ws

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences