
CVE catalog
CVE-2022-39348
twisted: CVE-2022-39348
- Severity
- Low · CVSS 3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.59% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | twisted | sid | 26.4.0-6 | fixed |
| Debian | twisted | forky | 26.4.0-6 | fixed |
| Debian | twisted | trixie | 24.11.0-1 | fixed |
| Debian | twisted | bookworm | 22.4.0-4+deb12u1 | fixed |
| Debian | twisted | bookworm-security | 22.4.0-4+deb12u1 | fixed |
| Ubuntu | twisted | 20.04 | 18.9.0-3ubuntu1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-5 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-6 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-6build1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-6ubuntu1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-8 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11ubuntu0.20.04.1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11ubuntu0.20.04.2 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11ubuntu0.20.04.3 | fixed |
| Ubuntu | twisted | 22.04 | 20.3.0-7ubuntu1 | vulnerable |
| Ubuntu | twisted | 22.04 | 20.3.0-7ubuntu3 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2.1 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2.3 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2.4 | fixed |
| Ubuntu | twisted | pro | 16.6.0-2ubuntu3 | vulnerable |
| Ubuntu | twisted | pro | 17.9.0-1 | vulnerable |
| Ubuntu | twisted | pro | 17.9.0-2 | vulnerable |
| Ubuntu | twisted | pro | 17.9.0-2ubuntu0.1 | vulnerable |
| Ubuntu | twisted | pro | 17.9.0-2ubuntu0.3 | vulnerable |
| Ubuntu | twisted | pro | 17.9.0-2ubuntu0.3+esm1 | vulnerable |
| Ubuntu | twisted | pro | 17.9.0-2ubuntu0.3+esm2 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-3ubuntu1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-5 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-6 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-6build1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-6ubuntu1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-8 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11ubuntu0.20.04.1 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11ubuntu0.20.04.2 | vulnerable |
| Ubuntu | twisted | 20.04 | 18.9.0-11ubuntu0.20.04.3 | fixed |
| Ubuntu | twisted | 22.04 | 20.3.0-7ubuntu1 | vulnerable |
| Ubuntu | twisted | 22.04 | 20.3.0-7ubuntu3 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2.1 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2.3 | vulnerable |
| Ubuntu | twisted | 22.04 | 22.1.0-2ubuntu2.4 | fixed |
| Suse | python-Twisted | linux enterprise module for server applications 15 sp4 | 22.2.0-150400.5.7.1 | fixed |
| Opensuse | python-Twisted | leap 15.4 | 22.2.0-150400.5.7.1 | fixed |
| Opensuse | python-Twisted | tumbleweed | 22.10.0-1.1 | fixed |
| Suse | python-Twisted | linux enterprise module for package hub 15 sp3 | 19.10.0-150200.3.18.1 | fixed |
| Suse | python-Twisted | linux enterprise module for server applications 15 sp3 | 19.10.0-150200.3.18.1 | fixed |
| Opensuse | python-Twisted | leap 15.3 | 19.10.0-150200.3.18.1 | fixed |
| Opensuse | python-Twisted | leap 15.4 | 19.10.0-150200.3.18.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | twisted | source | sid | 22.4.0-4 | not yet assigned | Not reported | [1023359] |
| Debian | twisted | source | forky | 22.4.0-4 | not yet assigned | Not reported | [1023359] |
| Debian | twisted | source | trixie | 22.4.0-4 | not yet assigned | Not reported | [1023359] |
| Debian | twisted | source | bookworm | 22.4.0-4 | not yet assigned | Not reported | [1023359] |
| Ubuntu | twisted | deb | 20.04 | 18.9.0-11ubuntu0.20.04.3 | Not reported | USN-6575-1 | Not reported |
| Ubuntu | twisted | deb | 22.04 | 22.1.0-2ubuntu2.4 | Not reported | USN-6575-1 | Not reported |
| Ubuntu | twisted | deb | 20.04 | 18.9.0-11ubuntu0.20.04.3 | Not reported | UBUNTU-CVE-2022-39348 | Not reported |
| Ubuntu | twisted | deb | 22.04 | 22.1.0-2ubuntu2.4 | Not reported | UBUNTU-CVE-2022-39348 | Not reported |
| Suse | python-Twisted | rpm | linux enterprise module for server applications 15 sp4 | 22.2.0-150400.5.7.1 | Not reported | SUSE-SU-2022:4000-1 | Not reported |
| Opensuse | python-Twisted | rpm | leap 15.4 | 22.2.0-150400.5.7.1 | Not reported | SUSE-SU-2022:4000-1 | Not reported |
| Opensuse | python-Twisted | rpm | tumbleweed | 22.10.0-1.1 | Not reported | OPENSUSE-SU-2024:12474-1 | Not reported |
| Suse | python-Twisted | rpm | linux enterprise module for package hub 15 sp3 | 19.10.0-150200.3.18.1 | Not reported | SUSE-SU-2022:4057-1 | Not reported |
| Suse | python-Twisted | rpm | linux enterprise module for server applications 15 sp3 | 19.10.0-150200.3.18.1 | Not reported | SUSE-SU-2022:4057-1 | Not reported |
| Opensuse | python-Twisted | rpm | leap 15.3 | 19.10.0-150200.3.18.1 | Not reported | SUSE-SU-2022:4057-1 | Not reported |
| Opensuse | python-Twisted | rpm | leap 15.4 | 19.10.0-150200.3.18.1 | Not reported | SUSE-SU-2022:4057-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-Twisted]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-all_non_platform]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-conch]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-conch_nacl]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-contextvars]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-http2]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-serial]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python313-Twisted-tls]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-all_non_platform]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-conch]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-conch_nacl]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-contextvars]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-http2]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-serial]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python314-Twisted-tls]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
- [python-Twisted-doc]Unknown
Source package: [python-Twisted]
Details (1)
26.4.0-3.3· noarch · tumbleweedUnknown · Fixed:
22.10.0-1.1Version impact unknown
dsa · python-Twisted · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-twisted]Fixed
Source package: [twisted]
Details (4)
22.4.0-4+deb12u1· all · bookwormFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
22.4.0-4+deb12u1· all · bookwormFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
22.4.0-4+deb12u1· all · bookworm-securityFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
22.4.0-4+deb12u1· all · bookworm-securityFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
- [twisted-doc]Fixed
Source package: [twisted]
Details (4)
22.4.0-4+deb12u1· all · bookwormFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
22.4.0-4+deb12u1· all · bookwormFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
22.4.0-4+deb12u1· all · bookworm-securityFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
22.4.0-4+deb12u1· all · bookworm-securityFixed · Fixed:
22.4.0-4dsa · twisted · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_4000-1.json]
- [https://osv.dev/vulnerability/DLA-3212-1]
- [https://osv.dev/vulnerability/DLA-3970-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4000-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4057-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-39348]
- [https://osv.dev/vulnerability/USN-6575-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12474-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-39348]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2031.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]