CVE-2022-21712
HIGH7.5EPSS 0.24%Cookie and header exposure in twisted
Published: 2/7/2022Modified: 4/28/2026
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 (3)
- Debian/twistedfrom 0, < 20.3.0-7+deb11u1
- PyPI/twisted>= 11.1.0, < 22.1.0
- PyPI/twistedfrom 0, < af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 | >= 11.1.0, < 22.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-21712
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-21712
- PATCHhttps://github.com/twisted/twisted
- PATCHhttps://pypi.org/project/Twisted/
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-27.yaml
- WEBhttps://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2
- WEBhttps://github.com/twisted/twisted/releases/tag/twisted-22.1.0
- WEBhttps://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx
- WEBhttps://lists.debian.org/debian-lts-announce/2022/02/msg00021.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6
- WEBhttps://pypi.org/project/Twisted
- WEBhttps://security.gentoo.org/glsa/202301-02