Skip to content

h2 vulnerable to denial of service

Moderate severity GitHub Reviewed Published Apr 11, 2023 to the GitHub Advisory Database • Updated May 1, 2023

Package

cargo h2 (Rust)

Affected versions

< 0.3.17

Patched versions

0.3.17

Description

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.

References

Published by the National Vulnerability Database Apr 11, 2023
Published to the GitHub Advisory Database Apr 11, 2023
Reviewed Apr 11, 2023
Last updated May 1, 2023

Severity

Moderate

Weaknesses

CVE ID

CVE-2023-26964

GHSA ID

GHSA-f8vr-r385-rh5r

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.