Advisory

RUSTSEC-2023-0034

Also known as: CVE-2023-26964, GHSA-f8vr-r385-rh5r

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-04-14 12:00 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

h2

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.3.17 (semver)

Fixed versions

0.3.17

Fix

  • Fixed version 0.3.17
    cargo update -p h2 --precise 0.3.17

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences