Skip to content
OpenAdvisories
High · 7.5 CVE-2022-21712 EUVD-2022-0346GHSA-92x2-jw7w-xvvxPYSEC-2022-27

Cookie and header exposure in twisted

Published Feb 7, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

twisted is an event-driven networking engine written in Python. In affected versions twisted exposes cookies and authorization headers when following cross-origin redirects. This issue is present in the `twited.web.RedirectAgent` and `twisted.web. BrowserLikeRedirectAgent` functions. Users are advised to upgrade. There are no known workarounds.

Affected products

VendorProductAffectedFixed
twisted twisted >= 11.1.0, < 22.1.0 —

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.

ReleasePackageFixed inAdvisory
Debian 14 twisted 22.1.0-1 —
Debian 13 twisted 22.1.0-1 —
Debian 12 twisted 22.1.0-1 —
Debian 9 twisted 16.6.0-2+deb9u1 DLA-2927-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS twisted 22.1.0-2ubuntu2 —
Ubuntu 20.04 LTS twisted 18.9.0-11ubuntu0.20.04.2 USN-5354-1
Ubuntu 18.04 LTS twisted 17.9.0-2ubuntu0.3 USN-5354-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS twisted No fix yet —
Ubuntu Pro 14.04 LTS twisted No fix yet —
ReleasePackageFixed inAdvisory
Red Hat OpenStack 16 python-twisted +1 16.4.1-19.el8ost RHSA-2022:0992, RHSA-2022:0982
ReleasePackageFixed inAdvisory
SLES 15 SP3 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SLES 15 SP2 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SLES 12 python-Twisted 15.2.1-9.11.1 SUSE-SU-2022:4074-1, SUSE-SU-2022:0734-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SLE Real Time 15 SP2 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SLE HPC 15 SP2 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SUSE OpenStack Cloud Crowbar 9 python-Twisted 15.2.1-9.11.1 SUSE-SU-2022:4074-1, SUSE-SU-2022:0734-1
SUSE OpenStack Cloud Crowbar 8 python-Twisted 15.2.1-9.11.1 SUSE-SU-2022:4074-1, SUSE-SU-2022:0734-1
SUSE OpenStack Cloud 9 python-Twisted 15.2.1-9.11.1 SUSE-SU-2022:4074-1, SUSE-SU-2022:0734-1
SUSE OpenStack Cloud 8 python-Twisted 15.2.1-9.11.1 SUSE-SU-2022:4074-1, SUSE-SU-2022:0734-1
SUSE Manager Server 4.1 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SUSE Manager Retail Branch Server 4.1 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SUSE Manager Proxy 4.1 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
SUSE HPE Helion OpenStack 8 python-Twisted 15.2.1-9.11.1 SUSE-SU-2022:4074-1, SUSE-SU-2022:0734-1
SUSE Enterprise Storage 7 python-Twisted 19.10.0-3.6.1 SUSE-SU-2022:0499-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Twisted 22.1.0-1.1 openSUSE-SU-2024:11841-1
openSUSE Leap 15.3 python-Twisted 19.10.0-3.6.1 openSUSE-SU-2022:0499-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-twisted 22.1.0-r0 —
Alpine v3.23 py3-twisted 22.1.0-r0 —
Alpine v3.22 py3-twisted 22.1.0-r0 —
Alpine v3.21 py3-twisted 22.1.0-r0 —
Alpine v3.20 py3-twisted 22.1.0-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-twisted 22.1.0-r0 —
Alpine v3.18 py3-twisted 22.1.0-r0 —
Alpine v3.17 py3-twisted 22.1.0-r0 —
Alpine v3.16 py3-twisted 22.1.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-twisted +1 22.4.0-124.amzn2023.0.2 ALAS2023-2023-056

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) python-twisted 22.2.0-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI twisted >= 11.1.0, < 22.1.0 22.1.0 GHSA-92x2-jw7w-xvvx

Advisories 14

References