GHSA-8r5v-vm4m-4g25
medium
Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2024-0003
Description
An attacker with an HTTP/2 connection to an affected endpoint can send a steady stream of invalid frames to force the generation of reset frames on the victim endpoint. By closing their recv window, the attacker could then force these resets to be queued in an unbounded fashion, resulting in Out Of Memory (OOM) and high CPU usage.
This fix is corrected in hyperium/h2#737, which limits the total number of internal error resets emitted by default before the connection is closed.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| h2 (crates.io) | before 0.3.24, from 0.4.0 before 0.4.2, from 0.0.0-0 before 0.3.24, from 0.4.0-0 before 0.4.2 | GitHub Advisory Database, RustSec Advisory Database |
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-8r5v-vm4m-4g25 changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2024-0003 changed 2026-02-04 | CC0-1.0 |