Skip to content

GHSA-q6cp-qfwq-4gcv h2 servers vulnerable to degradation of service with CONTINUATION Flood

MediumCVSS 5.3
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io h2(crates.io) < 0.3.26; >= 0.0.0-0, < 0.3.26; >= 0.4.0, < 0.4.4; >= 0.4.0-0, < 0.4.4 0.3.26, 0.4.4 Fixed

Affected products

ProductAffected versionsFixed in
crates.io h2(crates.io) < 0.3.26 0.3.26
crates.io h2(crates.io) >= 0.4.0, < 0.4.4 0.4.4
crates.io h2(crates.io) >= 0.0.0-0, < 0.3.26 0.3.26
crates.io h2(crates.io) >= 0.4.0-0, < 0.4.4 0.4.4

References