Skip to content

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

Package

cargo tungstenite (Rust)

Affected versions

<= 0.20.0

Patched versions

0.20.1

Description

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

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

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2023-43669

GHSA ID

GHSA-9mcr-873m-xcxp

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.