CVE-2022-24801
Fixed in a distro release EPSS 3%CVSS 8.1
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to version 22.4.0rc1, the Twisted Web HTTP 1.1 server, located in the `twisted.web.http` module, parsed several HTTP request constructs more leniently than permitted by RFC 7230. This non-conformant parsing can lead to desync if requests pass through multiple HTTP parsers, potentially resulting in HTTP request smuggling. Users who may be affected use Twisted Web's HTTP 1.1 server and/or proxy and also pass requests through a different HTTP server and/or proxy. The Twisted Web client is not affected. The HTTP 2.0 server uses a different parser, so it is not affected. The issue has been addressed in Twisted 22.4.0rc1. Two workarounds are available: Ensure any vulnerabilities in upstream proxies have been addressed, such as by upgrading them; or filter malformed requests by other means, such as configuration of an upstream proxy.
Products: twisted
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | twisted | 22.4.0 |
| PyPI | twisted | 592217e951363d60e9cd99c5bbfd23d4615043ac |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2 | python-twisted-web | 12.1.0-8.amzn2 |
| Amazon Linux 2023 | python3-twisted | 22.4.0-124.amzn2023.0.2 |
| Amazon Linux 2023 | python3-twisted+tls | 22.4.0-124.amzn2023.0.2 |
| Arch Linux | python-twisted | no fix |
| Debian 12 | twisted | 22.4.0-1 |
| Debian 13 | twisted | 22.4.0-1 |
| Debian 14 | twisted | 22.4.0-1 |
| Debian 9 | twisted | 16.6.0-2+deb9u3 |
| Red Hat Enterprise Linux 7 | python-twisted-web | 0:12.1.0-8.el7_9 |
| Red Hat openstack 16.1 | python-twisted | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.1 | python-twisted-debugsource | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.1 | python3-twisted | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.1 | python3-twisted-debuginfo | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.2 | python-twisted | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.2 | python-twisted-debugsource | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.2 | python3-twisted | 0:16.4.1-20.el8ost |
| Red Hat openstack 16.2 | python3-twisted-debuginfo | 0:16.4.1-20.el8ost |
| SUSE HPE Helion OpenStack 8 | python-Twisted | 15.2.1-9.14.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | python-Twisted | 19.10.0-150200.3.9.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | python-Twisted | 19.10.0-150200.3.9.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | python-Twisted | 15.2.1-9.14.1 |
| SUSE Linux Enterprise Real Time 15 SP2 | python-Twisted | 19.10.0-150200.3.9.1 |
| SUSE OpenStack Cloud 8 | python-Twisted | 15.2.1-9.14.1 |
| SUSE OpenStack Cloud 9 | python-Twisted | 15.2.1-9.14.1 |
| SUSE OpenStack Cloud Crowbar 8 | python-Twisted | 15.2.1-9.14.1 |
| SUSE OpenStack Cloud Crowbar 9 | python-Twisted | 15.2.1-9.14.1 |
| Ubuntu 20.04 LTS | twisted | no fix |
| Ubuntu 22.04 LTS | twisted | 22.1.0-2ubuntu2.3 |
| 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.9.1 |
| openSUSE Leap 15.4 | python-Twisted | 19.10.0-150200.3.9.1 |
| openSUSE Tumbleweed | python-Twisted | 22.2.0-1.1 |