Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. h2
  4. ›
  5. GHSA-q6cp-qfwq-4gcv

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

April 5, 2024

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

  • github.com/advisories/GHSA-q6cp-qfwq-4gcv
  • github.com/hyperium/h2
  • rustsec.org/advisories/RUSTSEC-2024-0332.html
  • seanmonstar.com/blog/hyper-http2-continuation-flood
  • www.kb.cert.org/vuls/id/421644

Code Behaviors & Features

Detect and mitigate GHSA-q6cp-qfwq-4gcv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.26, all versions starting from 0.4.0 before 0.4.4

Fixed versions

  • 0.3.26
  • 0.4.4

Solution

Upgrade to versions 0.3.26, 0.4.4 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

cargo/h2/GHSA-q6cp-qfwq-4gcv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.