oscartbeaumont / httpz

Code once, support every Rust webserver!
MIT License
28 stars 4 forks source link

RUSTSEC-2023-0065: Tungstenite allows remote attackers to cause a denial of service #36

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Tungstenite allows remote attackers to cause a denial of service

Details
Package tungstenite
Version 0.19.0
URL https://github.com/snapview/tungstenite-rs/issues/376
Date 2023-09-25
Patched versions >=0.20.1

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

See advisory page for additional details.