cve.bz

CVE-2022-24801 HTTP Request Smuggling

8.1 highEPSS 2.8%Fix available

High (8.1). EPSS 2.8% estimated probability of exploitation activity in the next 30 days. Fixed in twisted 22.4.0.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24801 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24801?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24801?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24801 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
twisted:twistedbefore 22.4.0
debian:debian_linux9.0
fedoraproject:fedora35
fedoraproject:fedora36
oracle:zfs_storage_appliance_kit8.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c2jg-hw38-jrqqPyPItwisted<22.4.022.4.0
PYSEC-2022-195PyPItwisted<22.4.022.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9twisted16.6.0-2+deb9u3DLA-2991-1
Debian12, 13, 14twisted22.4.0-1DEBIAN-CVE-2022-24801
Ubuntu20.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 1 moretwistedno fix listedUBUNTU-CVE-2022-24801
Ubuntu22.04:LTStwisted22.1.0-2ubuntu2.3UBUNTU-CVE-2022-24801 USN-5576-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepython-twisted-web0:12.1.0-8.el7_9RHSA-2022:4930
Red Hatopenstack:16.1::el8python-twisted, python3-twisted, python3-twisted-debuginfo and 1 more0:16.4.1-20.el8ostRHSA-2022:1646
Red Hatopenstack:16.2::el8python-twisted, python3-twisted, python3-twisted-debuginfo and 1 more0:16.4.1-20.el8ostRHSA-2022:1645
SUSEHPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12, OpenStack Cloud 8 and 3 morepython-Twisted15.2.1-9.14.1SUSE-SU-2022:1546-1
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Module for Server Applications 15 SP3, Linux Enterprise Real Time 15 SP2python-Twisted19.10.0-150200.3.9.1SUSE-SU-2022:1477-1
openSUSELeap 15.3, Leap 15.4python-Twisted19.10.0-150200.3.9.1SUSE-SU-2022:1477-1
openSUSETumbleweedpython-Twisted22.2.0-1.1openSUSE-SU-2024:11978-1
Alpinev3.17, v3.18, v3.19 and 5 morepy3-twisted22.4.0-r0ALPINE-CVE-2022-24801

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Enterprise Linux 6 was affected but Out of Support Cycle because python-twisted was not listed in Red Hat Enterprise Linux 6 ELS Inclusion List.

https://access.redhat.com/articles/4997301

Red Hat's mitigation

Filter malformed requests like '+ or -' in Content-Length header, Illegal characters like LF(\n) and HTAB(\t), and 0x prefixes in HTTP Headers.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python-twisted-web-0:12.1.0-8.el7_9Fixed 2022-06-07RHSA-2022:4930
Red Hat OpenStack Platform 16.1python-twisted-0:16.4.1-20.el8ostFixed 2022-04-29RHSA-2022:1646
Red Hat OpenStack Platform 16.2python-twisted-0:16.4.1-20.el8ostFixed 2022-04-29RHSA-2022:1645
Red Hat Ceph Storage 2python-twistedOut of support scope
Red Hat Ceph Storage 3python-twistedWill not fix
Red Hat Enterprise Linux 6python-twistedOut of support scope
Red Hat OpenStack Platform 13 (Queens)python-twistedAffected
Red Hat Satellite 6python-twistedAffected
Service Telemetry Framework 1.3 for RHEL 8python-twistedAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24801.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON