What’s Vulnerable › Vulnerabilities

CVE-2023-43669: Tungstenite allows remote attackers to cause a denial of service

Description

The Tungstenite crate before 0.20.1 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).

Affected products

How to fix

Upgrade to a fixed version: Crates.Io Tungstenite 0.20.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-43669 or the next vulnerability affects your stack