Skip to content
OpenAdvisories

Package · crates.io

h2

4 known vulnerabilities.

4 results · Feed

  • Unscored —

    h2 unbounded empty DATA frames

    The h2 crate, used internally by hyper, had a flaw that would accept and queue empty DATA frames without limit. If streams were not actively drained, this could lead to unbounded memory usage, or a panic if the length overflows. Low severity. Patched in v0.4.…

  • Medium 5.3

    h2 servers vulnerable to degradation of service with CONTINUATION Flood

    An attacker can send a flood of CONTINUATION frames, causing `h2` to process them indefinitely. This results in an increase in CPU usage. Tokio task budget helps prevent this from a complete denial-of-service, as the server can still respond to legitimate req…

  • Medium —

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

    An attacker with an HTTP/2 connection to an affected endpoint can send a steady stream of invalid frames to force the generation of reset frames on the victim endpoint. By closing their recv window, the attacker could then force these resets to be queued in a…

  • High 7.5

    h2 vulnerable to denial of service

    An issue was discovered in hyper v0.13.7. h2-0.2.4 Stream stacking occurs when the H2 component processes HTTP2 RST_STREAM frames. As a result, the memory and CPU usage are high which can lead to a Denial of Service (DoS).