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
Aliases
Published
2024-04-03T12:00:00Z
Modified
2024-04-11T16:41:43.668809Z
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.

References

Affected packages

crates.io / h2

Package

Name
h2

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

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

Database specific

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