{"id":"CVE-2023-43804","state":"PUBLISHED","title":"`Cookie` HTTP header isn't stripped on cross-origin redirects","description":"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.","publishedAt":"2023-10-04T16:01:50.447Z","updatedAt":"2025-11-03T21:49:44.074Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["urllib3 urllib3"],"affected":[{"vendor":"urllib3","product":"urllib3","versions":[{"version":">= 2.0.0, < 2.0.6","status":"affected"},{"version":"< 1.26.17","status":"affected"}]}],"references":["https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f","https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb","https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d","https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/","https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3","https://security.netapp.com/advisory/ntap-20241213-0007/","https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/43xxx/CVE-2023-43804.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-43804","state":"PUBLISHED","datePublished":"2023-10-04T16:01:50.447Z","dateUpdated":"2025-11-03T21:49:44.074Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-09-22T14:51:42.340Z"},"containers":{"cna":{"title":"`Cookie` HTTP header isn't stripped on cross-origin redirects","descriptions":[{"lang":"en","value":"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":[{"vendor":"urllib3","product":"urllib3","versions":[{"version":">= 2.0.0, < 2.0.6","status":"affected"},{"version":"< 1.26.17","status":"affected"}]}],"references":[{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f","name":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb","name":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb","tags":["x_refsource_MISC"]},{"url":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d","name":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-11-03T21:06:26.816Z"},"source":{"advisory":"GHSA-v845-jxx5-vc9f","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f","name":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb","name":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d","name":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/","tags":["x_transferred"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3"},{"url":"https://security.netapp.com/advisory/ntap-20241213-0007/"},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:49:44.074Z"}}]}}}