Advisory

GHSA-9mcr-873m-xcxp

Also known as: CVE-2023-43669, RUSTSEC-2023-0065

Summary

Tungstenite allows remote attackers to cause a denial of service

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-09-21 06:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

tungstenite

crates.io · All systems

Affected

  • introduced 0, fixed 0.20.1 (semver)

Fixed versions

0.20.1

Fix

  • Fixed version 0.20.1
    cargo update -p tungstenite --precise 0.20.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences