CVE-2023-43669 Tungstenite allows remote attackers to cause a denial of service
Remote attackers can cause denial of service via excessive HTTP header length in client handshakes, affecting Rust applications using the Tungstenite crate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-43669?
CVE-2023-43669 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 21 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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).
Which versions are affected by CVE-2023-43669?
3 open source packages ship an affected version, including tungstenite. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
tungstenite crates.io | All versions | 0.20.1 |
tungstenite crates.io | All versions | 0.20.1 |
tungstenite crates.io | From 0.0.0-0 | 0.20.1 |
Products include Fedoraproject Fedora, Snapview Tungstenite.
How do I fix CVE-2023-43669?
Upgrade tungstenite to 0.20.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-43669 being exploited?
There is no known exploitation of CVE-2023-43669 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2023-43669, GHSA-9mcr-873m-xcxp, RUSTSEC-2023-0065, UBUNTU-CVE-2023-43669.