cve.bz

CVE-2022-21712 Origin Validation Error

7.5 highEPSS 1.4%Fix available

High (7.5). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in twisted 22.1.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-346 Origin Validation Error
OWASP Top 10
A01:2025 Broken Access Control, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-21712 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-21712?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-21712?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-21712 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
twisted:twistedfrom 11.1.0 before 22.1.0
debian:debian_linux9.0
fedoraproject:fedora35
fedoraproject:fedora36

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-92x2-jw7w-xvvxPyPItwisted>=11.1.0 <22.1.022.1.0
PYSEC-2022-27PyPItwisted>=11.1.0 <22.1.022.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9twisted16.6.0-2+deb9u1DLA-2927-1
Debian12, 13, 14twisted22.1.0-1DEBIAN-CVE-2022-21712
Ubuntu18.04:LTStwisted17.9.0-2ubuntu0.3UBUNTU-CVE-2022-21712 USN-5354-1
Ubuntu20.04:LTStwisted18.9.0-11ubuntu0.20.04.2UBUNTU-CVE-2022-21712 USN-5354-1
Ubuntu22.04:LTStwisted22.1.0-2ubuntu2UBUNTU-CVE-2022-21712
UbuntuPro:14.04:LTS, Pro:16.04:LTStwistedno fix listedUBUNTU-CVE-2022-21712
Red Hatopenstack:16.1::el8python-twisted, python3-twisted, python3-twisted-debuginfo and 1 more0:16.4.1-19.el8ostRHSA-2022:0982
Red Hatopenstack:16.2::el8python-twisted, python3-twisted, python3-twisted-debuginfo and 1 more0:16.4.1-19.el8ostRHSA-2022:0992
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 morepython-Twisted19.10.0-3.6.1SUSE-SU-2022:0499-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12, OpenStack Cloud 8 and 3 morepython-Twisted15.2.1-9.11.1SUSE-SU-2022:0734-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Module for Web and Scripting 12, OpenStack Cloud 8 and 3 morepython-Twisted15.2.1-9.23.1SUSE-SU-2022:4074-1
openSUSELeap 15.3python-Twisted19.10.0-3.6.1openSUSE-SU-2022:0499-1
openSUSETumbleweedpython-Twisted22.1.0-1.1openSUSE-SU-2024:11841-1
Alpinev3.16, v3.17, v3.18 and 6 morepy3-twisted22.1.0-r0ALPINE-CVE-2022-21712
Azure Linux2python-twisted22.2.0-1AZL-8505

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 16.1python-twisted-0:16.4.1-19.el8ostFixed 2022-03-24RHSA-2022:0982
Red Hat OpenStack Platform 16.2python-twisted-0:16.4.1-19.el8ostFixed 2022-03-23RHSA-2022:0992
Red Hat Ansible Automation Platform 1.2twisted[tls]Affected
Red Hat Ansible Automation Platform 2twisted[tls]Affected
Red Hat Ceph Storage 3python-twisted-coreOut of support scope
Red Hat Enterprise Linux 6python-twistedOut of support scope
Red Hat OpenStack Platform 13 (Queens)python-twistedOut of support scope
Red Hat Satellite 6python-twistedWill not fix
Red Hat Storage 3python-twisted-coreWill not fix
Service Telemetry Framework 1.3 for RHEL 8python-twistedWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-21712.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16), CWE-200 (59).

References

Check your stackJSON