RUSTSEC-2020-0043

    Dashboard / Vulnerabilities / RUSTSEC-2020-0043

    RUSTSEC-2020-0043

    Published: 25 Sept 2020Last Modified: 8 Nov 2023

    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](https://crates.io/crates/parity-ws) (>=0.10.0) by [disconnecting a client when the buffer runs full](https://github.com/housleyjk/ws-rs/pull/328).

    Affected packages

    Package

    Name: ws

    Purl: pkg:cargo/ws

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2020-0043 | CVE-DB