GHSA-f8vr-r385-rh5r

Suggest an improvement
Source
https://github.com/advisories/GHSA-f8vr-r385-rh5r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-f8vr-r385-rh5r/GHSA-f8vr-r385-rh5r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f8vr-r385-rh5r
Aliases
Published
2023-04-11T15:30:30Z
Modified
2023-11-08T04:12:03.011700Z
Summary
h2 vulnerable to denial of service
Details

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.

Database specific
{
    "nvd_published_at": "2023-04-11T14:15:00Z",
    "cwe_ids": [
        "CWE-770"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-11T21:47:01Z"
}
References

Affected packages

crates.io / h2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.17