rust-tungstenite — security advisory
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).
- Products
- rust-tungstenite
- Affected versions
- 0.20.1-1, 0.20.1-2, 0.24.0-3, 0.24.0-4, 0.24.0-5, 0.28.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2023-43669
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:05 UTC · Revision 1
Source evidence
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).
osv:UBUNTU-CVE-2023-43669
rust-tungstenite
Fixed versions: Not specified
rust-tungstenite
Fixed versions: Not specified
rust-tungstenite
Fixed versions: Not specified
rust-tungstenite
Fixed versions: Not specified
Complete source record
{
"id": "366b1f21b5a626e60dd0e6a104469c4ee9544229a57c976f158c7eb14062b518",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-43669",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-43669",
"summary": "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).",
"evidence": "osv:UBUNTU-CVE-2023-43669",
"products": [
{
"name": {
"value": "rust-tungstenite",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.20.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.20.1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rust-tungstenite",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.24.0-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.24.0-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rust-tungstenite",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.28.0-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "rust-tungstenite",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.24.0-4",
"evidence": "/affected/3/versions"
},
{
"value": "0.24.0-5",
"evidence": "/affected/3/versions"
},
{
"value": "0.28.0-1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-43669",
"aliases": [
"UBUNTU-CVE-2023-43669"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-tungstenite",
"purl": "pkg:deb/ubuntu/rust-tungstenite?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.20.1-1",
"0.20.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43669.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-tungstenite-dev",
"binary_version": "0.20.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-tungstenite",
"purl": "pkg:deb/ubuntu/rust-tungstenite?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.24.0-3",
"0.24.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43669.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-tungstenite-dev",
"binary_version": "0.24.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-tungstenite",
"purl": "pkg:deb/ubuntu/rust-tungstenite?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.28.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43669.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-tungstenite-dev",
"binary_version": "0.28.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-tungstenite",
"purl": "pkg:deb/ubuntu/rust-tungstenite?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.24.0-4",
"0.24.0-5",
"0.28.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43669.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-tungstenite-dev",
"binary_version": "0.28.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:26.158211266Z",
"provider": "osv",
"upstream": [
"CVE-2023-43669"
],
"references": [
"https://ubuntu.com/security/CVE-2023-43669",
"https://github.com/snapview/tungstenite-rs/issues/376",
"https://github.com/snapview/tungstenite-rs/commit/f916b332a97f78f4d54d942b9e008a1af57ff938",
"https://github.com/snapview/tungstenite-rs/commit/2e5029284b8bef3e59df0c9d3920c0ed6c7da7a9",
"https://github.com/snapview/tungstenite-rs/commit/8b3ecd3cc0008145ab4bc8d0657c39d09db8c7e2",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/THK6G6CD4VW6RCROWUV2C4HSINKK3XAK/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R77EUWPZVP5WSMNXUXUDNHR7G7OI5NGM/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TT7SF6CQ5VHAGFLWNXY64NFSW4WIWE7D/",
"https://bugzilla.redhat.com/show_bug.cgi?id=2240110",
"https://bugzilla.suse.com/show_bug.cgi?id=1215563",
"https://crates.io/crates/tungstenite/versions",
"https://cwe.mitre.org/data/definitions/407.html",
"https://github.com/advisories/GHSA-9mcr-873m-xcxp",
"https://github.com/github/advisory-database/pull/2752",
"https://security-tracker.debian.org/tracker/CVE-2023-43669",
"https://www.cve.org/CVERecord?id=CVE-2023-43669"
]
},
"related_cves": [
{
"value": "CVE-2023-43669",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355667,
"published_at": "2023-09-21T06:15:00+00:00"
}