GHSA-q6cp-qfwq-4gcv

Source
https://github.com/advisories/GHSA-q6cp-qfwq-4gcv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-q6cp-qfwq-4gcv/GHSA-q6cp-qfwq-4gcv.json
Aliases
Published
2024-04-05T15:05:32Z
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
0The exact introduced commit is unknown
Fixed
0.3.26

crates.io / h2

Package

Name
h2

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.4.4