What’s Vulnerable › Vulnerabilities
GHSA-q6cp-qfwq-4gcv: h2 servers vulnerable to degradation of service with CONTINUATION Flood
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2024-04-05 · updated 2026-09-10
- Weakness: CWE-400
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 products
- Crates.Io H2: before 0.3.26; from 0.4.0 before 0.4.4 — fixed in 0.3.26, 0.4.4
How to fix
Upgrade to a fixed version: Crates.Io H2 0.3.26, 0.4.4. Check the vendor advisory for mitigations.
References
- https://github.com/hyperium/h2
- https://rustsec.org/advisories/RUSTSEC-2024-0332.html
- https://seanmonstar.com/blog/hyper-http2-continuation-flood
- https://www.kb.cert.org/vuls/id/421644
Get alerted when GHSA-q6cp-qfwq-4gcv or the next vulnerability affects your stack