Severity
5.4MEDIUMNVD
EPSS
1.1%
top 21.58%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 26
Latest updateJan 10

Description

Twisted is an event-based framework for internet applications. Started with version 0.9.4, when the host header does not match a configured host `twisted.web.vhost.NameVirtualHost` will return a `NoResource` resource which renders the Host header unescaped into the 404 response allowing HTML and script injection. In practice this should be very difficult to exploit as being able to modify the Host header of a normal HTTP request implies that one is already in a privileged position. This issue wa

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitability: 2.3 | Impact: 2.7

Affected Packages5 packages

NVDtwisted/twisted0.9.422.10.0
PyPItwisted/twisted0.9.422.10.0rc1
Debiantwisted/twisted< 20.3.0-7+deb11u2+3
Ubuntutwisted/twisted< 18.9.0-11ubuntu0.20.04.3+1
CVEListV5twisted/twisted>= 0.9.4, < 22.10.0rc1

Also affects: Debian Linux 10.0

Patches

🔴Vulnerability Details

5
OSV
twisted vulnerabilities2024-01-10
OSV
CVE-2022-39348: Twisted is an event-based framework for internet applications2022-10-26
GHSA
Twisted vulnerable to NameVirtualHost Host header injection2022-10-26
OSV
Twisted vulnerable to NameVirtualHost Host header injection2022-10-26
CVEList
Twisted vulnerable to NameVirtualHost Host header injection2022-10-26

📋Vendor Advisories

4
Ubuntu
Twisted vulnerabilities2024-01-10
Red Hat
python-twisted: NameVirtualHost Host header injection2022-10-26
Microsoft
Twisted vulnerable to NameVirtualHost Host header injection2022-10-11
Debian
CVE-2022-39348: twisted - Twisted is an event-based framework for internet applications. Started with vers...2022
CVE-2022-39348 — Cross-site Scripting in Twisted | cvebase