RUSTSEC-2023-0034

Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0034.json
Aliases
Published
2023-04-14T12:00:00Z
Modified
2023-04-20T19:17:55Z
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.

References

Affected packages

crates.io / h2

h2

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.17

Affected versions

Ecosystem specific

{
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}