GHSA-8r5v-vm4m-4g25 json
Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)
published 2y ago modified 2mo ago also RUSTSEC-2024-0003
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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](https://github.com/hyperium/h2/pull/737), which limits the total number of internal error resets emitted by default before the connection is closed.
Patch / fix
- crates.io h2 0.3.24, 0.4.2
- github.com/hyperium/h2@59570e1 commit
- github.com/hyperium/h2@d919cd6 commit
- github.com/hyperium/h2#737 pull request
Is GHSA-8r5v-vm4m-4g25 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | h2 | <0.3.24 >=0.4.0, <0.4.2 >=0.0.0-0, <0.3.24 >=0.4.0-0, <0.4.2 |
0.3.24 0.4.2 |
References
-
github.com
/hyperium/h2/pull/737
web
-
github.com
/hyperium/h2/commit/59570e11ccddbec85f67a0c7aa353f7730c68854
web
-
github.com
/hyperium/h2/commit/d919cd6fd8e0f4f5d1f6282fab0b38a1b4bf999c
web
-
github.com
/hyperium/h2
package
-
rustsec.org
/advisories/RUSTSEC-2024-0003.html
web, advisory
-
crates.io
/crates/h2
package
-
github.com
/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md
advisory
Sources
- GitHub Advisory GHSA-8r5v-vm4m-4g25
- OSV RUSTSEC-2024-0003
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.