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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-twisted | 22.1.0-r0 | ALPINE-CVE-2022-21712 |
| Alpine:v3.21 | py3-twisted | 22.1.0-r0 | ALPINE-CVE-2022-21712 |
| Alpine:v3.22 | py3-twisted | 22.1.0-r0 | ALPINE-CVE-2022-21712 |
| Alpine:v3.23 | py3-twisted | 22.1.0-r0 | ALPINE-CVE-2022-21712 |
| Alpine:v3.24 | py3-twisted | 22.1.0-r0 | ALPINE-CVE-2022-21712 |
| Debian:12 | twisted | 22.1.0-1 | DEBIAN-CVE-2022-21712 |
| Debian:13 | twisted | 22.1.0-1 | DEBIAN-CVE-2022-21712 |
| Debian:14 | twisted | 22.1.0-1 | DEBIAN-CVE-2022-21712 |
| PyPI | twisted | 22.1.0 | GHSA-92x2-jw7w-xvvx |
| PyPI | twisted | 22.1.0 | PYSEC-2022-27 |
| Ubuntu:22.04:LTS | twisted | 22.1.0-2ubuntu2 | UBUNTU-CVE-2022-21712 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx x_refsource_CONFIRM
- https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 x_refsource_MISC
- https://github.com/twisted/twisted/releases/tag/twisted-22.1.0 x_refsource_MISC
- [debian-lts-announce] 20220219 [SECURITY] [DLA 2927-1] twisted security update mailing-list, x_transferred
- FEDORA-2022-71b66d4747 vendor-advisory, x_transferred
- FEDORA-2022-9a489fa494 vendor-advisory, x_transferred
- GLSA-202301-02 vendor-advisory, x_transferred