CVE-2023-26964
HIGH7.5EPSS 0.32%Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)
Published: 4/11/2023Modified: 11/8/2023
Description
If an attacker is able to flood the network with pairs of `HEADERS`/`RST_STREAM` frames, such that the `h2` application is not able to accept them faster than the bytes are received, the pending accept queue can grow in memory usage. Being able to do this consistently can result in excessive memory use, and eventually trigger Out Of Memory. This flaw is corrected in [hyperium/h2#668](https://github.com/hyperium/h2/pull/668), which restricts remote reset stream count by default.
Affected packages (3)
- crates.io/h2from 0, < 0.3.17
- crates.io/h2>= 0.0.0-0, < 0.3.17
- Debian/rust-h2from 0, < 0.3.13-2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-26964
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-26964
- PATCHhttps://crates.io/crates/h2
- PATCHhttps://github.com/hyperium/hyper
- WEBhttps://github.com/hyperium/h2/issues/621
- WEBhttps://github.com/hyperium/h2/pull/668
- WEBhttps://github.com/hyperium/hyper/issues/2877
- WEBhttps://rustsec.org/advisories/RUSTSEC-2023-0034.html