RUSTSEC-2023-0034

    Dashboard / Vulnerabilities / RUSTSEC-2023-0034

    RUSTSEC-2023-0034

    Published: 14 Apr 2023Last Modified: 8 Nov 2023

    Summary: Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)

    Details: If an attacker is able to flood the network with pairs of `HEADERS`/`RST_STREAM` frames, such that the `h2` application is not able to accept them faster than the bytes are received, the pending accept queue can grow in memory usage. Being able to do this consistently can result in excessive memory use, and eventually trigger Out Of Memory. This flaw is corrected in [hyperium/h2#668](https://github.com/hyperium/h2/pull/668), which restricts remote reset stream count by default.

    Affected packages

    Package

    Name: h2

    Purl: pkg:cargo/h2

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.3.17

    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-2023-0034 | CVE-DB