RUSTSEC-2024-0003

Source
https://rustsec.org/advisories/RUSTSEC-2024-0003
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0003.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0003
Aliases
Related
Published
2024-01-17T12:00:00Z
Modified
2024-02-10T16:26:48.430040Z
Summary
Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)
Details

An attacker with an HTTP/2 connection to an affected endpoint can send a steady stream of invalid frames to force the generation of reset frames on the victim endpoint. By closing their recv window, the attacker could then force these resets to be queued in an unbounded fashion, resulting in Out Of Memory (OOM) and high CPU usage.

This fix is corrected in hyperium/h2#737, which limits the total number of internal error resets emitted by default before the connection is closed.

References

Affected packages

crates.io / h2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.24
Introduced
0.4.0-0
Fixed
0.4.2

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}