CVE-2018-25091
MEDIUM6.1EPSS 0.22%python-urllib3 - security update
Published: 10/15/2023Modified: 4/28/2026
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 packages (4)
- Debian/python-urllib3from 0, < 1.25.6-4
- Debian/python-urllib3from 0, < 1.24.1-1+deb10u1
- PyPI/urllib3from 0, < 1.24.2
- PyPI/urllib3from 0, < adb358f8e06865406d1f05e581a16cbea2136fbc | from 0, < 1.24.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-25091
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-25091
- PATCHhttps://github.com/urllib3/urllib3
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-207.yaml
- WEBhttps://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc
- WEBhttps://github.com/urllib3/urllib3/compare/1.24.1...1.24.2
- WEBhttps://github.com/urllib3/urllib3/issues/1510