diff --git a/crates/h2/RUSTSEC-0000-0000.md b/crates/h2/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..05de5cb --- /dev/null +++ b/crates/h2/RUSTSEC-0000-0000.md @@ -0,0 +1,18 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "h2" +date = "2023-04-14" +url = "https://github.com/hyperium/hyper/issues/2877" +categories = ["denial-of-service"] +keywords = ["http", "http2", "h2"] +aliases = ["CVE-2023-26964", "GHSA-f8vr-r385-rh5r"] +[versions] +patched = [">= 0.3.17"] +``` + +# Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS) + +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. \ No newline at end of file