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.
|OS||OS Version||Package Name||Package Version|
Scientific Linux Security Update : python-twisted-web on SL7.x x86_64 (2022:4930)
SUSE SLES15 Security Update : python-Twisted (SUSE-SU-2022:1477-1)
RHEL 8 : Red Hat OpenStack Platform 16.2 (python-twisted) (RHSA-2022:1645)
SUSE SLES12 Security Update : python-Twisted (SUSE-SU-2022:1546-1)
RHEL 8 : Red Hat OpenStack Platform 16.1 (python-twisted) (RHSA-2022:1646)
Amazon Linux 2023 : python3-twisted, python3-twisted+tls (ALAS2023-2023-056)
Security Bulletin: IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to an HTTP request smuggling issue in Twisted (CVE-2022-24801).
HTTP Request Smuggling (HRS)
(RHSA-2022:1646) Important: Red Hat OpenStack Platform 16.1 (python-twisted) security update
(RHSA-2022:1645) Important: Red Hat OpenStack Platform 16.2 (python-twisted) security update
(RHSA-2022:9111) Important: OpenShift Container Platform 4.9.54 bug fix and security update
twisted - security update
python security update
python-twisted-web security update