VDB
Sign up
HIGH7.5

GHSA-9mcr-873m-xcxp

Tungstenite allows remote attackers to cause a denial of service

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).

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/tungstenite
Introduced in: 0Fixed in: 0.20.1

Upgrade tungstenite to 0.20.1 or newer (ecosystem crates.io).

References