CVE-2022-39348
Summary
| CVE | CVE-2022-39348 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-10-26 20:15:00 UTC |
| Updated | 2023-03-08 01:07:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79 | CWE-80
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Application | Twistedmatrix | Twisted | All | All | All | All |
| Application | Twistedmatrix | Twisted | 22.10.0 | - | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| NameVirtualHost Host header injection. · Advisory · twisted/twisted · GitHub | CONFIRM | github.com | |
| Twisted: Multiple Vulnerabilities (GLSA 202301-02) — Gentoo security | GENTOO | security.gentoo.org | |
| [SECURITY] [DLA 3212-1] twisted security update | MLIST | lists.debian.org | |
| Merge pull request from GHSA-vg46-2rrj-3647 · twisted/twisted@f2f5e81 · GitHub | MISC | github.com | |
| vhost bugfix... · twisted/twisted@f49041b · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 181256 Debian Security Update for twisted (DLA 3212-1)
- 182038 Debian Security Update for twisted (CVE-2022-39348)
- 200039 Ubuntu Security Notification for Twisted Vulnerabilities (USN-6575-1)
- 296099 Oracle Solaris 11.4 Support Repository Update (SRU) 57.144.3 Missing (CPUAPR2023)
- 354855 Amazon Linux Security Advisory for python-twisted-web : ALAS2-2023-2008
- 354859 Amazon Linux Security Advisory for python-twisted-web : ALAS-2023-1717
- 355072 Amazon Linux Security Advisory for python-twisted-web : AL2012-2023-396
- 355240 Amazon Linux Security Advisory for python-twisted : ALAS2023-2023-130
- 710703 Gentoo Linux Twisted Multiple Vulnerabilities (GLSA 202301-02)
- 752877 SUSE Enterprise Linux Security Update for python-Twisted (SUSE-SU-2022:4000-1)
- 752884 SUSE Enterprise Linux Security Update for python-Twisted (SUSE-SU-2022:4057-1)
- 904353 Common Base Linux Mariner (CBL-Mariner) Security Update for python-twisted (11361)
- 904365 Common Base Linux Mariner (CBL-Mariner) Security Update for python-twisted (11357)