5.4

CVE-2022-39348: Twisted vulnerable to NameVirtualHost Host header injection

Modified
AliasesMGASA-2023-0061SUSE-SU-2022:4000-1SUSE-SU-2022:4057-1
Published 26-10-2022Last modified 03-11-2025

Vulnerability summary

CVE-2022-39348 is a medium (CVSS 5.4) vulnerability in debian debian_linux. EPSS estimates a 1.59% chance of exploitation in the next 30 days, higher than 75.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.59%
0%100%
Low · +0.32 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 26-10-2022
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.59%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

Increase +0.32 pp

From 1.27% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Twisted

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse3 products
  • python-Twisted&distro=openSUSE Leap 15.3< 19.10.0-150200.3.18.1
  • python-Twisted&distro=openSUSE Leap 15.4< 22.2.0-150400.5.7.1 | < 19.10.0-150200.3.18.1
  • python-Twisted&distro=openSUSE Tumbleweed< 22.10.0-1.1
Suse3 products
  • python-Twisted&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3< 19.10.0-150200.3.18.1
  • python-Twisted&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3< 19.10.0-150200.3.18.1
  • python-Twisted&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4< 22.2.0-150400.5.7.1
Debian2 products
Mageia1 product
  • python-twisted< 22.10.0-1.mga8
PyPI1 product
  • twisted≥ 0.9.4, < 22.10.0rc1
Twisted1 product
  • twisted≥ 0.9.4, < 22.10.0rc1 | ≥ 0.9.4, < 22.10.0
Ubuntu1 product
  • twistedAll versions (No fix recorded) | < 18.9.0-11ubuntu0.20.04.3 | < 22.1.0-2ubuntu2.4

7 vendors · 12 products

References

23 links
Show all 23 references