RUSTSEC-2024-0332

Source
https://rustsec.org/advisories/RUSTSEC-2024-0332
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0332.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0332
Aliases
Published
2024-04-03T12:00:00Z
Modified
2024-04-11T16:41:43.668809Z
Summary
Degradation of service in h2 servers with CONTINUATION Flood
Details

An attacker can send a flood of CONTINUATION frames, causing h2 to process them indefinitely. This results in an increase in CPU usage.

Tokio task budget helps prevent this from a complete denial-of-service, as the server can still respond to legitimate requests, albeit with increased latency.

More details at "https://seanmonstar.com/blog/hyper-http2-continuation-flood/.

Patches available for 0.4.x and 0.3.x versions.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / h2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.26
Introduced
0.4.0-0
Fixed
0.4.4

Ecosystem specific

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

Database specific

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