urllib3 Redirect Cookie Header Leak Before 1.26.17/2.0.5
CVE-2023-43804 Published on October 4, 2023
`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.
Vulnerability Analysis
CVE-2023-43804 is exploitable with network access, and requires user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is an Information Disclosure Vulnerability?
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVE-2023-43804 has been classified to as an Information Disclosure vulnerability or weakness.
Products Associated with CVE-2023-43804
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-43804 are published in these products:
Affected Versions
urllib3:- Version >= 2.0.0, < 2.0.6 is affected.
- Version < 1.26.17 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-43804
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| pip | urllib3 | < 1.26.17 | 1.26.17 |
| pip | urllib3 | >= 2.0.0, < 2.0.6 | 2.0.6 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.