CVE-2022-39348
published medium CVSS 3.1 · 5.4Twisted vulnerable to NameVirtualHost Host header injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| twisted | — | twisted>= 0.9.4, < 22.10.0rc1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-130 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | twisted | Advisory build | 20.3.0-7+deb11u2 | DLA-3970-1 |
| Ubuntu | focal | twisted | Advisory build | 18.9.0-11ubuntu0.20.04.3 | USN-6575-1 |
| SUSE / openSUSE | SLE-12 | python-Twistedaarch64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| Debian | buster | twisted | Advisory build | 18.9.0-3+deb10u2 | DLA-3212-1 |
| Ubuntu | jammy | twisted | Advisory build | 22.1.0-2ubuntu2.4 | USN-6575-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12 | python-Twistedppc64le | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12 | python-Twisteds390x | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12 | python-Twistedx86_64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-Twistedaarch64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-Twistedppc64le | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-Twisteds390x | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-Twistedx86_64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-Twistedaarch64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-Twistedppc64le | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-Twisteds390x | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-Twistedx86_64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-Twistedaarch64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-Twistedppc64le | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-Twisteds390x | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-Twistedx86_64 | Advisory build | 15.2.1-9.23.1 | SUSE-SU-2022:4074-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-Twistedaarch64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-Twistedppc64le | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-Twisteds390x | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-Twistedx86_64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-Twistedaarch64 | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-Twistedppc64le | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-Twisteds390x | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-Twistedx86_64 | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python-Twisted-docaarch64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python-Twisted-docppc64le | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python-Twisted-docs390x | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python-Twisted-docx86_64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python2-Twistedaarch64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python2-Twistedppc64le | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python2-Twisteds390x | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python2-Twistedx86_64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-Twistedaarch64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-Twistedppc64le | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-Twisteds390x | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-Twistedx86_64 | Advisory build | 19.10.0-150200.3.18.1 | SUSE-SU-2022:4057-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python-Twisted-docaarch64 | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python-Twisted-docppc64le | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python-Twisted-docs390x | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python-Twisted-docx86_64 | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-Twistedaarch64 | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-Twistedppc64le | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-Twisteds390x | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-Twistedx86_64 | Advisory build | 22.2.0-150400.5.7.1 | SUSE-SU-2022:4000-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Twisted-docaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Twisted-docppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Twisted-docs390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-Twisted-docx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twistedaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twistedppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisteds390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twistedx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-all_non_platformaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-all_non_platformppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-all_non_platforms390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-all_non_platformx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conchaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conchppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conchs390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conchx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conch_naclaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conch_naclppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conch_nacls390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-conch_naclx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-contextvarsaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-contextvarsppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-contextvarss390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-contextvarsx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-http2aarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-http2ppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-http2s390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-http2x86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-serialaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-serialppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-serials390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-serialx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-tlsaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-tlsppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-tlss390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Twisted-tlsx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twistedaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twistedppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisteds390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twistedx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-all_non_platformaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-all_non_platformppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-all_non_platforms390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-all_non_platformx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conchaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conchppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conchs390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conchx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conch_naclaarch64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conch_naclppc64le | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conch_nacls390x | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Twisted-conch_naclx86_64 | Advisory build | 22.10.0-1.1 | OPENSUSE-SU-2024:12474-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| twisted | twisted | >= 0.9.4, < 22.10.0rc1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b
- https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4
- https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647
- [debian-lts-announce] 20221128 [SECURITY] [DLA 3212-1] twisted security update https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html
- https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html
- GLSA-202301-02 https://security.gentoo.org/glsa/202301-02
Provider assertions
3GitHub_M · cna
Twisted vulnerable to NameVirtualHost Host header injection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b17709aa51cb480098269af9f7b6156b495dffdc31d7292d5758f4cdc9efdbd9
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record