CVE-2023-43804
`Cookie` HTTP header isn't stripped on cross-origin redirects
HIGH 7.4EPSS 1.4%
urllib3 is a user-friendly HTTP client library for Python. urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly. This issue has been patched in urllib3 version 1.26.17 or 2.0.5.
- Affected
- urllib3
- CVSS v4.0 GitHub
- 7.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS v3.1 NVD
- 8.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS v3.1 GITHUB
- 5.9 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - EPSS
- 1.36% chance of exploitation in the next 30 days, 71st percentile
- Published
- 2023-10-04
- Updated
- 2025-11-03
Proof-of-concept exploits (1)
- deepanshu-khurana/CVE-2023-438040★ · 2026-09-20
Security advisories
- urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f
- https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/me…
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/me…
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/me…
- advisories/GHSA-v845-jxx5-vc9f
- urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb