{"schema_version":"1.9.0","id":"CVE-2022-21712","published":"2022-02-07T00:00:00Z","modified":"2026-08-12T03:51:16.064330903Z","aliases":["GHSA-92x2-jw7w-xvvx","PYSEC-2022-27"],"related":["SUSE-SU-2022:0499-1","SUSE-SU-2022:0734-1","SUSE-SU-2022:4074-1","openSUSE-SU-2022:0499-1","openSUSE-SU-2024:11841-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/twisted/twisted","events":[{"introduced":"7702733284a283132501e38f5efdd3c77dfb0112"},{"fixed":"45d463c02ebbbdcbe18b3807419422101538ffca"},{"fixed":"af8fe78542a6f2bf2235ccee8158d9c88d31e8e2"}],"database_specific":{"cpe":"cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"11.1.0"},{"fixed":"22.1.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21712.json"}}],"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"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21712.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}