Tungstenite allows remote attackers to cause a denial of service
High severity
GitHub Reviewed
Published
Sep 21, 2023
to the GitHub Advisory Database
•
Updated Feb 16, 2024
Description
Published by the National Vulnerability Database
Sep 21, 2023
Published to the GitHub Advisory Database
Sep 21, 2023
Reviewed
Sep 21, 2023
Last updated
Feb 16, 2024
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