CVE-2023-43804
HIGH 8.1CVSS 3.1`Cookie` HTTP header isn't stripped on cross-origin redirects
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.
- Published
- 4 Oct 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-v845-jxx5-vc9fPYSEC-2023-192
- Sources
- NVDJSONOSV GHSA-v845-jxx5-vc9fJSONOSV PYSEC-2023-192JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
< 1.26.17 | 1.26.17 |
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.6 | 2.0.6 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| OSV | PyPI | urllib3 | >= 2.0.0, < 2.0.6 | 2.0.6 |
| OSV | PyPI | urllib3 | < 1.26.17 | 1.26.17 |
| OSV | PyPI | urllib3 | >= 2.0.0, < 2.0.6; < 1.26.17 | 2.0.6, 1.26.17 |
References
- https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb · Patch, WEB, FIX
- https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d · Patch, WEB, FIX
- https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f · Patch, Vendor Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ/ · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html · WEB
- https://security.netapp.com/advisory/ntap-20241213-0007/ · WEB
- https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-43804 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-192.yaml · WEB
- https://github.com/urllib3/urllib3 · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 4 Oct 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Oct 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Oct 2023)