CVE-2022-21712
HIGH 7.5CVSS 3.1Cookie and header exposure in twisted
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.
- Published
- 7 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-346
- Also known as
- GHSA-92x2-jw7w-xvvxPYSEC-2022-27
- Sources
- NVDJSONOSV GHSA-92x2-jw7w-xvvxJSONOSV PYSEC-2022-27JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | twisted | twistedcpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:* |
>= 11.1.0, < 22.1.0 | 22.1.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| OSV | PyPI | twisted | >= 11.1.0, < 22.1.0 | 22.1.0 |
References
- https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/twisted/twisted/releases/tag/twisted-22.1.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx · Third Party Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/ · WEB
- https://security.gentoo.org/glsa/202301-02 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21712 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-27.yaml · WEB
- https://github.com/twisted/twisted · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6 · WEB
- https://pypi.org/project/Twisted · WEB, PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 7 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Feb 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Feb 2022)