Description
In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. When presented with a content-length and a chunked encoding header, the content-length took precedence and the remainder of the request body was interpreted as a pipelined request.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | twisted | 18.9.0-7 | — |
| Debian 13 | twisted | 18.9.0-7 | — |
| Debian 12 | twisted | 18.9.0-7 | — |
| Debian 9 | twisted | 16.6.0-2+deb9u1 | DLA-2927-1 |
| Debian 8 | twisted | 14.0.2-3+deb8u1 | DLA-2145-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | twisted | 17.9.0-2ubuntu0.1 | USN-4308-1 |
| Ubuntu 16.04 LTS | twisted | 16.0.0-1ubuntu0.4 | USN-4308-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | twisted | 13.2.0-1ubuntu1.2+esm1 | USN-4308-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | python-twisted-web | 12.1.0-7.el7_8 | RHSA-2020:1561 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SLES 15 SP2 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SLES 12 | python-Twisted | 15.2.1-9.20.1 | SUSE-SU-2022:2811-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SLE HPC 15 SP2 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SUSE OpenStack Cloud Crowbar 9 | python-Twisted | 15.2.1-9.20.1 | SUSE-SU-2022:2811-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-Twisted | 15.2.1-9.20.1 | SUSE-SU-2022:2811-1 |
| SUSE OpenStack Cloud 9 | python-Twisted | 15.2.1-9.20.1 | SUSE-SU-2022:2811-1 |
| SUSE OpenStack Cloud 8 | python-Twisted | 15.2.1-9.20.1 | SUSE-SU-2022:2811-1 |
| SUSE Manager Server 4.1 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SUSE Manager Retail Branch Server 4.1 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SUSE Manager Proxy 4.1 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| SUSE HPE Helion OpenStack 8 | python-Twisted | 15.2.1-9.20.1 | SUSE-SU-2022:2811-1 |
| SUSE Enterprise Storage 7 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | matrix-synapse | 1.43.0-1.1 | openSUSE-SU-2024:11041-1 |
| openSUSE Leap 15.4 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
| openSUSE Leap 15.3 | python-Twisted | 19.10.0-150200.3.15.1 | SUSE-SU-2022:2822-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.23 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.22 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.21 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.20 | py3-twisted | 20.3.0-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.18 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.17 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.16 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.15 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.14 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.13 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.12 | py3-twisted | 20.3.0-r0 | — |
| Alpine v3.11 | py3-twisted | 20.3.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-twisted-web | 12.1.0-7.amzn2 | ALAS2-2020-1428 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | python-twisted | 22.2.0-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | python3-olamkit +2 | 1.0.2-1.el8 | ELSA-2022-9341 |
| Oracle Linux 7 | python-twisted-web | 12.1.0-7.el7_8 | ELSA-2020-1561 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | twisted | < 20.3.0 | 20.3.0 | GHSA-p5xh-vx83-mxcj |
| PyPI | twisted | < 20.3.0rc1 | 20.3.0rc1 | PYSEC-2020-260 |
Advisories 11
- RHSA-2020:1561 Red Hat Security Advisory: python-twisted-web security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-4308-1 twisted vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2927-1 twisted - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2145-1 twisted - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4308-2 twisted vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2022:2822-1 Security update for python-Twisted SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11041-1 matrix-synapse-1.43.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2811-1 Security update for python-Twisted SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2022-9341 Important: ol-automation-manager security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 27, 2022
- ALAS2-2020-1428 Important: python-twisted-web security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 20, 2020
- ELSA-2020-1561 Important: python-twisted-web security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 23, 2020
References
- https://know.bishopfox.com/advisories
- https://know.bishopfox.com/advisories/twisted-version-19.10.0
- FEDORA-2020-2136b020f2 vendor-advisory
- FEDORA-2020-16dc0da400 vendor-advisory
- USN-4308-2 vendor-advisory
- USN-4308-1 vendor-advisory
- GLSA-202007-24 vendor-advisory
- [debian-lts-announce] 20220219 [SECURITY] [DLA 2927-1] twisted security update mailing-list