CVE-2023-46137: twisted.web has disordered HTTP pipeline response

Published Oct 25, 2023
·
Updated

Twisted is an event-based framework for internet applications. Prior to version 23.10.0rc1, when sending multiple HTTP requests in one TCP packet, twisted.web will process the requests asynchronously without guaranteeing the response order. If one of the endpoints is controlled by an attacker, the attacker can delay the response on purpose to manipulate the response of the second request when a victim launched two requests using HTTP pipeline. Version 23.10.0rc1 contains a patch for this issue.

Other sources

twisted.web has disordered HTTP pipeline response

— Microsoft

Affected Software

18 affected componentsFixes available
pip/twisted<23.10.0rc1
23.10.0rc1
ubuntu/twisted<18.9.0-11ubuntu0.20.04.3
18.9.0-11ubuntu0.20.04.3
ubuntu/twisted<22.1.0-2ubuntu2.4
22.1.0-2ubuntu2.4
ubuntu/twisted<22.4.0-4ubuntu0.23.04.1
22.4.0-4ubuntu0.23.04.1
ubuntu/twisted<22.4.0-4ubuntu0.23.10.1
22.4.0-4ubuntu0.23.10.1
Twisted Twisted<=22.8.0
redhat/twisted<23.10.0
23.10.0
debian/twisted
20.3.0-7+deb11u222.4.0-4+deb12u123.10.0-1
ubuntu/twisted*
ubuntu/twisted*
ubuntu/twisted*
ubuntu/twisted<18.9.0-11ubuntu0.20.04.3
18.9.0-11ubuntu0.20.04.3
ubuntu/twisted<22.1.0-2ubuntu2.4
22.1.0-2ubuntu2.4
ubuntu/twisted<22.4.0-4ubuntu1
22.4.0-4ubuntu1
All of the following
azurelinux/python-twisted<22.10.0-4
22.10.0-4
Microsoft Azure Linux=3.0
All of the following
azurelinux/python-twisted<22.10.0-4
22.10.0-4
Microsoft CBL-Mariner=2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/twisted to a version that resolves this vulnerability.

    Fixed in 23.10.0rc1
  2. Upgrade

    Upgrade ubuntu/twisted to a version that resolves this vulnerability.

    Fixed in 18.9.0-11ubuntu0.20.04.3
  3. Upgrade

    Upgrade ubuntu/twisted to a version that resolves this vulnerability.

    Fixed in 22.1.0-2ubuntu2.4
  4. Upgrade

    Upgrade ubuntu/twisted to a version that resolves this vulnerability.

    Fixed in 22.4.0-4ubuntu0.23.04.1
  5. Upgrade

    Upgrade ubuntu/twisted to a version that resolves this vulnerability.

    Fixed in 22.4.0-4ubuntu0.23.10.1
  6. Upgrade

    Upgrade redhat/twisted to a version that resolves this vulnerability.

    Fixed in 23.10.0
  7. Upgrade

    Upgrade debian/twisted to a version that resolves this vulnerability.

    Fixed in 20.3.0-7+deb11u2Fixed in 22.4.0-4+deb12u1Fixed in 23.10.0-1
  8. Upgrade

    Upgrade ubuntu/twisted to a version that resolves this vulnerability.

    Fixed in 22.4.0-4ubuntu1
  9. Upgrade

    Upgrade azurelinux/python-twisted to a version that resolves this vulnerability.

    Fixed in 22.10.0-4
  10. Upgrade

    Upgrade twisted/twisted to a version that resolves this vulnerability.

    Fixed in 23.10.0rc1

Event History

Oct 25, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·08:56 PM
Data Sourced
08:56 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Advisory Published
09:15 PM
Advisory Published
09:15 PM
Oct 26, 2023
Data Sourced
via Red Hat·04:18 AM
DescriptionSeverityAffected Software
Oct 27, 2023
Updated
08:48 PM
Description
Nov 2, 2023
Data Sourced
03:57 PM
Affected Software
Updated
03:57 PM
SeverityWeakness
Updated
via NVD·03:57 PM
Affected Software
Nov 3, 2023
Updated
03:56 PM
Description
Aug 2, 2024
Data Sourced
via MITRE·08:37 PM
DescriptionSeverityWeakness
Nov 18, 2024
Data Sourced
via GitHub·11:17 PM
DescriptionSeverityWeaknessAffected Software
Nov 25, 2024
Data Sourced
via NVD·06:12 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:12 PM
Affected Software
Feb 14, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Nov 3, 2025
Updated
via NVD·10:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·06:30 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2023-46137.

2

What is the severity of CVE-2023-46137?

The severity of CVE-2023-46137 is medium with a CVSS score of 5.3.

3

What software is affected by CVE-2023-46137?

The affected software is the twisted package with version up to and excluding 23.10.0rc1.

4

How does CVE-2023-46137 manifest?

CVE-2023-46137 manifests when multiple HTTP requests are sent in one TCP packet, causing twisted.web to process the requests asynchronously without guaranteeing the response order.

5

Are there any references for CVE-2023-46137?

Yes, you can find more information about CVE-2023-46137 in the following references: [GitHub Advisory](https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm), [GitHub Advisories](https://github.com/advisories/GHSA-xc8x-vp79-p3wm).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203