CVE-2024-41671
High · 8.3CVSS
8.3
EPSS
0.9%
Published
Jul 29, 2024
CISA due date
—
Cloudanix analysis
A bug in the Twisted web server could let one web request see data meant for another when several requests arrive together, potentially exposing private information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Web Framework
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The twisted.web HTTP 1.0/1.1 server processes pipelined requests out-of-order, allowing response content from one request to be returned in place of another and resulting in information disclosure.
Why it matters to the business
Applications built on Twisted may leak sensitive response data to clients that did not request it, increasing the risk of data exposure in production web services.
How an attack unfolds
An attacker sends multiple pipelined HTTP requests over a single connection; the server reorders processing so that responses are mismatched, causing one client's response data to be delivered to another client.
How to fix it
Upgrade Twisted to version 24.7.0rc1 or later; apply commit 4a930de12fb67e88fefcb8822104152f42b27abc in source builds.
How to confirm the fix worked
Verify the installed Twisted version is 24.7.0rc1 or newer; replay pipelined requests in a test environment and confirm responses are returned in the original request order.
Typical attack path
- Establish a persistent HTTP connection to a Twisted web server
- Issue multiple pipelined requests in quick succession
- Receive responses that contain content intended for a different request
- Extract sensitive information from the disclosed response bodies
How to detect it
Review web server access logs for high volumes of pipelined requests on the same connection and inspect application logs for mismatched request-response pairs or unexpected data leakage.
What your security team should do
- Upgrade all Twisted installations to the fixed version without delay
- Audit services that expose twisted.web to the network for exposure
- Add version pinning and automated dependency checks in build pipelines
The record
Twisted is an event-based framework for internet applications, supporting Python 3.6+. The HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure. This vulnerability is fixed in 24.7.0rc1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | twisted | 0 | 24.7.0rc1 |
| Debian:11 | twisted | 0 | No fix |
| Debian:11 | twisted | 0 | 20.3.0-7+deb11u2 |
| Debian:12 | twisted | 0 | No fix |
| Debian:12 | twisted | 0 | 22.4.0-4+deb12u1 |
| Debian:13 | twisted | 0 | 24.7.0-1 |
| Mageia:9 | python-twisted | 0 | 22.10.0-2.1.mga9 |
| SUSE:Enterprise Storage 7.1 | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise Module for Python 3 15 SP5 | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise Module for Python 3 15 SP6 | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP5 | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 12 | python-Twisted | 0 | 15.2.1-9.26.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | python-Twisted | 0 | 19.10.0-150200.3.24.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Manager Proxy 4.3 | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| SUSE:Manager Server 4.3 | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| Ubuntu:20.04:LTS | twisted | 0 | No fix |
| Ubuntu:20.04:LTS | twisted | 0 | 18.9.0-11ubuntu0.20.04.5 |
| Ubuntu:20.04:LTS | twisted | 0 | 18.9.0-11ubuntu0.20.04.4 |
| Ubuntu:22.04:LTS | twisted | 0 | No fix |
| Ubuntu:22.04:LTS | twisted | 0 | 22.1.0-2ubuntu2.6 |
| Ubuntu:22.04:LTS | twisted | 0 | 22.1.0-2ubuntu2.5 |
| Ubuntu:24.04:LTS | twisted | 0 | 24.3.0-1ubuntu0.1 |
| Ubuntu:24.10 | twisted | 0 | 24.7.0-2 |
| Ubuntu:Pro:14.04:LTS | twisted | 0 | 13.2.0-1ubuntu1.2+esm3 |
| Ubuntu:Pro:16.04:LTS | twisted | 0 | 16.0.0-1ubuntu0.4+esm2 |
| Ubuntu:Pro:18.04:LTS | twisted | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | twisted | 0 | 17.9.0-2ubuntu0.3+esm2 |
| Ubuntu:Pro:18.04:LTS | twisted | 0 | 17.9.0-2ubuntu0.3+esm1 |
| openSUSE:Leap 15.5 | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| openSUSE:Leap 15.5 | python3-Twisted | 0 | 22.2.0-150400.21.1 |
| openSUSE:Leap 15.6 | python-Twisted | 0 | 22.10.0-150400.5.23.1 |
| openSUSE:Tumbleweed | matrix-synapse | 0 | 1.112.0-1.1 |
| openSUSE:Tumbleweed | python-Twisted | 0 | 24.3.0-2.1 |
Related vulnerabilities
- CVE-2026-45078 Synapse is an open source Matrix homeserver implementation. Also affects matrix-synapse
- CVE-2026-45076 Synapse is an open source Matrix homeserver implementation. Also affects matrix-synapse
- CVE-2026-24044 Element Server Suite Community Edition (ESS Community) deploys a Matrix stack using the… Also affects matrix-synapse
- CVE-2024-53867 Synapse is an open-source Matrix homeserver. Also affects matrix-synapse
- CVE-2024-37302 Synapse denial of service through media disk space consumption Also affects matrix-synapse
- CVE-2024-37303 Synapse's unauthenticated writes to the media repository allow planting of problematic… Also affects matrix-synapse
- CVE-2024-53863 Synapse can be forced to thumbnail unexpected file formats, invoking external… Also affects matrix-synapse
- CVE-2024-52805 Synapse allows unsupported content types to lead to memory exhaustion Also affects matrix-synapse