Security mailing lists by PureSourceCode

RUSTSEC-2024-0003

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 an unbounded fashion,
resulting in Out Of Memory (OOM) and high CPU usage.

This fix is corrected in hyperium/h2#737, which limits the total number of
internal error resets emitted by default before the connection is closed.

Published
17 Jan 2024
Last modified
10 Sep 2026
Also known as
GHSA-8r5v-vm4m-4g25
Sources
OSV GHSA-8r5v-vm4m-4g25JSONOSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io h2 < 0.3.24 0.3.24
OSV crates.io h2 >= 0.4.0, < 0.4.2 0.4.2
OSV crates.io h2 >= 0.0.0-0, < 0.3.24; >= 0.4.0-0, < 0.4.2 0.3.24, 0.4.2

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jan 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.