CVE-2022-39348

5.4 MEDIUM
Published: October 26, 2022 Modified: November 03, 2025

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 was fixed in version 22.10.0rc1. There are no known workarounds.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647
Source: security-advisories@github.com
Exploit Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html
Source: security-advisories@github.com
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202301-02
Source: security-advisories@github.com
Third Party Advisory
https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202301-02
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

11 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.4 / 10.0
EPSS (Exploit Probability)
0.7%
70th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

twisted debian