high7.5
CVE-2023-26964
h2 vulnerable to denial of service
Impact
Hyper is an HTTP library for Rust and h2 is an HTTP 2.0 client & server implementation for Rust. An issue was discovered in h2 v0.2.4 when processing header frames. It incorrectly processes the HTTP2 `RST_STREAM` frames by not always releasing the memory immediately upon receiving the reset frame, leading to stream stacking. As a result, the memory and CPU usage are high which can lead to a Denial of Service (DoS). This issue affects users only when dealing with http2 connections.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | h2 | < 0.3.17 | 0.3.17 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hyper | H2 | Version 0.2.4 |
| Hyper | Hyper | Version 0.13.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/hyperium/hyper/issues/2877
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZHBAE7LQARMPUEEV4TWET4D7G6WCWBUD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYRZ5Y2ALATKKPIITAFAJIS4TR4LUAHO/
- https://github.com/advisories/GHSA-f8vr-r385-rh5r
- https://nvd.nist.gov/vuln/detail/CVE-2023-26964
- https://github.com/hyperium/h2/issues/621
- https://github.com/hyperium/h2/pull/668
- https://rustsec.org/advisories/RUSTSEC-2023-0034.html