GHSA-q6cp-qfwq-4gcv: h2 servers vulnerable to degradation of service with CONTINUATION Flood
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.
Published Apr 5, 2024
Affected packages
h2
- Ecosystem
- Rust (crates.io)
- Affected
- < 0.3.26
- Fixed in
- 0.3.26
- Check
cargo tree -i h2
h2
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.4.0, < 0.4.4
- Fixed in
- 0.4.4
- Check
cargo tree -i h2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
