HistoryEditJSON (OSV)

RUSTSEC-2023-0034

Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)

Reported
Issued
Package
h2 (crates.io)
Type
Vulnerability
Categories
Keywords
#http #http2 #h2
Aliases
References
Patched
  • >=0.3.17

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, which restricts remote reset stream count by default.

Advisory available under CC0-1.0 license.