CVE-2022-39348
Fixed in a distro release EPSS 2%CVSS 5.4
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.
Products: twisted
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | twisted | 22.10.0rc1 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2 | python-twisted-web | 12.1.0-8.amzn2.0.1 |
| Amazon Linux 2023 | python3-twisted | 22.4.0-125.amzn2023.0.2 |
| Amazon Linux 2023 | python3-twisted+tls | 22.4.0-125.amzn2023.0.2 |
| Debian 10 | twisted | 18.9.0-3+deb10u2 |
| Debian 11 | twisted | 20.3.0-7+deb11u2 |
| Debian 12 | twisted | 22.4.0-4 |
| Debian 13 | twisted | 22.4.0-4 |
| Debian 14 | twisted | 22.4.0-4 |
| SUSE HPE Helion OpenStack 8 | python-Twisted | 15.2.1-9.23.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | python-Twisted | 19.10.0-150200.3.18.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | python-Twisted | 19.10.0-150200.3.18.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | python-Twisted | 22.2.0-150400.5.7.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | python-Twisted | 15.2.1-9.23.1 |
| SUSE OpenStack Cloud 8 | python-Twisted | 15.2.1-9.23.1 |
| SUSE OpenStack Cloud 9 | python-Twisted | 15.2.1-9.23.1 |
| SUSE OpenStack Cloud Crowbar 8 | python-Twisted | 15.2.1-9.23.1 |
| SUSE OpenStack Cloud Crowbar 9 | python-Twisted | 15.2.1-9.23.1 |
| Ubuntu 20.04 LTS | twisted | 18.9.0-11ubuntu0.20.04.3 |
| Ubuntu 22.04 LTS | twisted | 22.1.0-2ubuntu2.4 |
| Ubuntu Pro 14.04 LTS | twisted | no fix |
| Ubuntu Pro 16.04 LTS | twisted | no fix |
| Ubuntu Pro 18.04 LTS | twisted | no fix |
| openSUSE Leap 15.3 | python-Twisted | 19.10.0-150200.3.18.1 |
| openSUSE Leap 15.4 | python-Twisted | 19.10.0-150200.3.18.1 |
| openSUSE Leap 15.4 | python-Twisted | 22.2.0-150400.5.7.1 |
| openSUSE Tumbleweed | python-Twisted | 22.10.0-1.1 |