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
Aliases
Related
Published
2024-01-17T12:00:00Z
Modified
2024-02-10T16:26:48.430040Z
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

Name
h2

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

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

Database specific

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