Vulnerabilities · 2022 · Twisted
CVE-2022-24801
Twisted vulnerability
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.
Affected products
Twisted, Debian Linux, Fedora, Zfs Storage Appliance Kit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Twisted runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/twisted/twisted/commit/592217e951363d60e9cd99c5bbfd23d4615043ac · Patch
- www.oracle.com/security-alerts/cpujul2022.html · Patch
- github.com/twisted/twisted/releases/tag/twisted-22.4.0rc1 · Third Party Advisory
- github.com/twisted/twisted/security/advisories/GHSA-c2jg-hw38-jrqq · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00003.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G
- nvd.nist.gov/vuln/detail/CVE-2022-24801
- nvd.nist.gov/vuln/detail/CVE-2022-24801
- cve.org/CVERecord?id=CVE-2022-24801
More vulnerabilities in Twisted products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.