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 was fixed in version 22.10.0rc1. There are no known workarounds.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3212-1 | twisted security update |
Debian DLA |
DLA-3970-1 | twisted security update |
EUVD |
EUVD-2022-7164 | 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 was fixed in version 22.10.0rc1. There are no known workarounds. |
Github GHSA |
GHSA-vg46-2rrj-3647 | Twisted vulnerable to NameVirtualHost Host header injection |
Ubuntu USN |
USN-6575-1 | Twisted vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 03 Nov 2025 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Tue, 22 Apr 2025 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Mon, 25 Nov 2024 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Twisted
Twisted twisted |
|
| CPEs | cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Twistedmatrix
Twistedmatrix twisted |
Twisted
Twisted twisted |
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-11-03T21:46:32.067Z
Reserved: 2022-09-02T00:00:00.000Z
Link: CVE-2022-39348
Updated: 2025-11-03T21:46:32.067Z
Status : Modified
Published: 2022-10-26T20:15:10.580
Modified: 2025-11-03T22:15:59.850
Link: CVE-2022-39348
OpenCVE Enrichment
No data.
Debian DLA
EUVD
Github GHSA
Ubuntu USN