GHSA-9mcr-873m-xcxp

Source
https://github.com/advisories/GHSA-9mcr-873m-xcxp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-9mcr-873m-xcxp/GHSA-9mcr-873m-xcxp.json
Aliases
Published
2023-09-21T06:30:25Z
Modified
2024-02-16T22:38:02Z
Details

The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause a denial of service (minutes of CPU consumption) via an excessive length of an HTTP header in a client handshake. The length affects both how many times a parse is attempted (e.g., thousands of times) and the average amount of data for each parse attempt (e.g., millions of bytes).

References

Affected packages

crates.io / tungstenite

Package

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.20.1

Database specific

{
    "last_known_affected_version_range": "<= 0.20.0"
}