GHSA-8r5v-vm4m-4g25 Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io h2(crates.io) | < 0.3.24; >= 0.0.0-0, < 0.3.24; >= 0.4.0, < 0.4.2; >= 0.4.0-0, < 0.4.2 | 0.3.24, 0.4.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io h2(crates.io) | < 0.3.24 | 0.3.24 |
| crates.io h2(crates.io) | >= 0.4.0, < 0.4.2 | 0.4.2 |
| crates.io h2(crates.io) | >= 0.0.0-0, < 0.3.24 | 0.3.24 |
| crates.io h2(crates.io) | >= 0.4.0-0, < 0.4.2 | 0.4.2 |
References
- github.com patch
- github.com patch
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com vendor-advisory
- github.com