GHSA-vg46-2rrj-3647 · Severity: medium · Ecosystem: pip — Twisted vulnerable to NameVirtualHost Host header injection
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.
Conclusion & alert: CVE-2022-39348 is rated High Exploit Risk (64.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.20%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-21 | 1.14% | 1.20% | +0.06% |
| 2 | 2026-04-07 | 1.18% | 1.14% | -0.04% |
| 3 | 2026-01-07 | — | 1.18% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
GHSA-vg46-2rrj-3647 · Severity: medium · Ecosystem: pip — Twisted vulnerable to NameVirtualHost Host header injection
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-39348 not yet assigned priority: Debian including 1 source packages (twisted), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-39348 |
gentoo
|
low | CVE-2022-39348: 1 GLSA(s) (202301-02), 1 atom(s) (dev-python/twisted); latest impact low. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-39348 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2022-39348 |
suse
|
low | CVE-2022-39348 severity low: SUSE including 48 source package names (python-Twisted-15.2.1-9.23.1, python-Twisted-doc-19.10.0-150200.3.18.1, …), 70 product×package rows across 25 product lines (HPE Helion OpenStack 8, Image SLES15-SP3-BYOS-Azure, … (25 product lines)): Fixed 70. | https://www.suse.com/security/cve/CVE-2022-39348/ |
ubuntu
|
low | CVE-2022-39348 low priority: Ubuntu including 1 source packages (twisted), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, released 3, needed 2, ignored 1, needs-triage 1. | https://ubuntu.com/security/CVE-2022-39348 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| twisted | twisted | >= 0.9.4, < 22.10.0 | cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b | Patch |
| https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 | Patch |
| https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647 | Exploit Patch Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html | Mailing List Third Party Advisory |
| https://security.gentoo.org/glsa/202301-02 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html |