CVEvulnerability
CVE-2018-25091
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-10-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-601
Description
urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).
Affected configurations
• python urllib3 (< 1.24.2)
Related
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc Patch
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2 Patch
- https://github.com/urllib3/urllib3/issues/1510 Issue Tracking, Patch, Vendor Advisory
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc Patch
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2 Patch
- https://github.com/urllib3/urllib3/issues/1510 Issue Tracking, Patch, Vendor Advisory