Skip to content
OpenAdvisories
High · 7.5 CVE-2023-43669 EUVD-2023-2481GHSA-9mcr-873m-xcxpRUSTSEC-2023-0065

Tungstenite allows remote attackers to cause a denial of service

Published Sep 21, 2023 · Updated Aug 2, 2024 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-tungstenite 0.20.1-1 —
Debian 13 rust-tungstenite 0.20.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-tungstenite No fix yet —
Ubuntu 26.04 LTS rust-tungstenite No fix yet —
Ubuntu 25.10 rust-tungstenite No fix yet —
Ubuntu 24.04 LTS rust-tungstenite No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling zed 0.147.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io tungstenite < 0.20.1 0.20.1 GHSA-9mcr-873m-xcxp
crates.io tungstenite >= 0.0.0-0, < 0.20.1 0.20.1 RUSTSEC-2023-0065

References