{"id":"CVE-2022-21712","aliases":["GHSA-92x2-jw7w-xvvx","PYSEC-2022-27"],"url":"https://o3.security/vulnerability/CVE-2022-21712","summary":"Cookie and header exposure in twisted","details":"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":"2022-02-07T00:00:00Z","modified":"2026-08-12T03:51:16.064330903Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"twisted","fixedVersion":"22.1.0"}],"fix":{"url":"https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2","label":"twisted/twisted@af8fe78"},"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-22.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21712.json"},{"type":"ADVISORY","url":"https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21712"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202301-02"},{"type":"FIX","url":"https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:16.064330903Z"}}