Description
In words.protocols.jabber.xmlstream in Twisted through 19.2.1, XMPP support did not verify certificates when used with TLS, allowing an attacker to MITM connections.
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 | — |
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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 | python-Twisted | 17.9.0-bp150.4.6.1 | openSUSE-SU-2019:2110-1 |
| SUSE OpenStack Cloud Crowbar 9 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE OpenStack Cloud 9 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE OpenStack Cloud 8 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE OpenStack Cloud 7 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE HPE Helion OpenStack 8 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE Enterprise Storage 5 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
| SUSE Enterprise Storage 4 | python-Twisted | 15.2.1-9.8.1 | SUSE-SU-2019:2453-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Twisted | 21.7.0-3.2 | openSUSE-SU-2024:11212-1 |
| openSUSE Leap 15.1 | python-Twisted | 17.9.0-lp151.3.6.1 | openSUSE-SU-2019:2068-1 |
| openSUSE Leap 15.0 | python-Twisted | 17.9.0-lp151.3.6.1 | openSUSE-SU-2019:2068-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.23 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.22 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.21 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.20 | py3-twisted | 19.7.0-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.18 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.17 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.16 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.15 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.14 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.13 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.12 | py3-twisted | 19.7.0-r0 | — |
| Alpine v3.11 | py3-twisted | 19.7.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | python-twisted | 22.2.0-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | twisted | < 19.7.0rc1 | 19.7.0rc1 | GHSA-65rm-h285-5cc5 |
Advisories 6
- USN-4308-1 twisted vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4308-2 twisted vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2019:2068-1 Security update for python-Twisted SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11212-1 python-Twisted-doc-21.7.0-3.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2110-1 Security update for python-Twisted SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2453-1 Security update for python-Twisted SUSE / openSUSE Security Updates · May 2, 2025
References
- https://twistedmatrix.com/trac/ticket/9561
- https://github.com/twisted/twisted/pull/1147
- FEDORA-2019-d480909528 vendor-advisory
- openSUSE-SU-2019:2068 vendor-advisory
- openSUSE-SU-2019:2110 vendor-advisory
- USN-4308-2 vendor-advisory
- USN-4308-1 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2020.html