{"id":"GHSA-q6cp-qfwq-4gcv","aliases":["GHSA-q6cp-qfwq-4gcv","RUSTSEC-2024-0332"],"related":[],"kind":"vulnerability","state":"published","title":"h2 servers vulnerable to degradation of service with CONTINUATION Flood","summary":"An attacker can send a flood of CONTINUATION frames, causing `h2` to process them indefinitely. This results in an increase in CPU usage.\n\nTokio task budget helps prevent this from a complete denial-of-service, as the server can still respond to legitimate requests, albeit with increased latency.\n\nMore details at https://seanmonstar.com/blog/hyper-http2-continuation-flood/.\n\nPatches available for 0.4.x and 0.3.x versions.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"An attacker can send a flood of CONTINUATION frames, causing `h2` to process them indefinitely. This results in an increase in CPU usage.\n\nTokio task budget helps prevent this from a complete denial-of-service, as the server can still respond to legitimate requests, albeit with increased latency.\n\nMore details at https://seanmonstar.com/blog/hyper-http2-continuation-flood/.\n\nPatches available for 0.4.x and 0.3.x versions.","format":"markdown","source":"ghsa"},{"lang":"en","text":"An attacker can send a flood of CONTINUATION frames, causing `h2` to process them indefinitely.\nThis results in an increase in CPU usage.\n\nTokio task budget helps prevent this from a complete denial-of-service, as the server can still\nrespond to legitimate requests, albeit with increased latency.\n\nMore details at \"https://seanmonstar.com/blog/hyper-http2-continuation-flood/.\n\nPatches available for 0.4.x and 0.3.x versions.","format":"markdown","source":"rustsec"}],"published":"2024-04-03T12:00:00.000Z","modified":"2026-09-10T03:49:18.784Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.26"}],"ecosystem":"crates.io","package":"h2","purl":"pkg:cargo/h2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.4.0","status":"affected","fixed":"0.4.4"}],"ecosystem":"crates.io","package":"h2","purl":"pkg:cargo/h2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.3.26"},{"type":"semver","introduced":"0.4.0-0","status":"affected","fixed":"0.4.4"}],"ecosystem":"crates.io","package":"h2","purl":"pkg:cargo/h2","source":"rustsec"}],"references":[{"url":"https://github.com/hyperium/h2","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0332.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://seanmonstar.com/blog/hyper-http2-continuation-flood","tags":["web"],"sources":["ghsa"]},{"url":"https://www.kb.cert.org/vuls/id/421644","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/h2","tags":["package"],"sources":["rustsec"]},{"url":"https://seanmonstar.com/blog/hyper-http2-continuation-flood/","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6cp-qfwq-4gcv","url":"https://github.com/advisories/GHSA-q6cp-qfwq-4gcv","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:18.784Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0332","url":"https://rustsec.org/advisories/RUSTSEC-2024-0332.html","licence":"CC0-1.0","modified":"2024-04-11T16:41:43.668Z"}],"updatedAt":"2026-11-25T22:56:43.190Z"}