Vulnerability · Published Feb 7, 2022 · Assigned by GitHub_M

CVE-2022-21712Cookie and header exposure in twisted

High 7.5

In plain English

A high-severity information exposure in twisted from twisted. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.4%top 27.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-twisted22.1.0-r0ALPINE-CVE-2022-21712
Alpine:v3.21py3-twisted22.1.0-r0ALPINE-CVE-2022-21712
Alpine:v3.22py3-twisted22.1.0-r0ALPINE-CVE-2022-21712
Alpine:v3.23py3-twisted22.1.0-r0ALPINE-CVE-2022-21712
Alpine:v3.24py3-twisted22.1.0-r0ALPINE-CVE-2022-21712
Debian:12twisted22.1.0-1DEBIAN-CVE-2022-21712
Debian:13twisted22.1.0-1DEBIAN-CVE-2022-21712
Debian:14twisted22.1.0-1DEBIAN-CVE-2022-21712
PyPItwisted22.1.0GHSA-92x2-jw7w-xvvx
PyPItwisted22.1.0PYSEC-2022-27
Ubuntu:22.04:LTStwisted22.1.0-2ubuntu2UBUNTU-CVE-2022-21712

Affected products (as reported)

VendorProductVersions
twisted twisted >= 11.1.0, < 22.1.0

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References