5.3medium
h2 servers vulnerable to degradation of service with CONTINUATION Flood
- Severity
- 5.3medium CVSS:3.1 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2024-0332
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| h2 (crates.io) | before 0.3.26, from 0.4.0 before 0.4.4, from 0.0.0-0 before 0.3.26, from 0.4.0-0 before 0.4.4 | GitHub Advisory Database, RustSec Advisory Database |
Classification
What each source says
GitHub Advisory Database
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.
RustSec Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-q6cp-qfwq-4gcv changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2024-0332 changed 2024-04-11 | CC0-1.0 |