CVE-2023-46137
twisted.web has disordered HTTP pipeline response
Reported by github_m · Published October 25, 2023
Twisted is fixed in 23.10.0rc1 and 23.10.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Twisted | PyPI | 23.10.0rc1, 23.10.0 |
| python3-twisted | Amazon Linux | 22.4.0-126.amzn2023.0.3 |
| python3-twisted+tls | Amazon Linux | 22.4.0-126.amzn2023.0.3 |
| twisted | twisted | 22.8.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| twisted | twisted | 23.10.0rc1 |
| amazon:2023 | python3-twisted | 0 |
| amazon:2023 | python3-twisted+tls | 0 |
| PyPI | Twisted | 0 |
| twisted | twisted | 0 |
| twisted | twisted | 23.10.0rc1 |
Timeline
- Oct 25, 2023 CVE Published
- Oct 26, 2023 EPSS Score (30 in total, the first dated here)
- Oct 26, 2023 PoC Published (2 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Jan 29, 2026 Security Advisory (4 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-46137
vulnetix vdb fixes CVE-2023-46137
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-46137/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2023-46137 advisory
- https://github.com/advisories/GHSA-xc8x-vp79-p3wm advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2023-224.yaml advisory
- https://github.com/twisted/twisted url
- https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html url