CVE-2018-25091: python urllib3 URL Redirection to Untrusted Site
Vulnerability summary
CVE-2018-25091 is a medium (CVSS 6.1) URL Redirection to Untrusted Site vulnerability in python urllib3. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 48.4% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 15-10-2023PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
4 scores · 4 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Increase +0.08 pp
From 0.52% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- python-pipAll versions (No fix recorded) | < 8.1.1-2ubuntu0.6+esm6 | < 9.0.1-2.3~ubuntu1.18.04.8+esm2
- python-urllib3All versions (No fix recorded) | < 1.13.1-2ubuntu0.16.04.4+esm1 | < 1.22-1ubuntu0.18.04.2+esm1
Debian1 product
- python-urllib3< 1.25.6-4
PyPI1 product
- urllib3< adb358f8e06865406d1f05e581a16cbea2136fbc | < 1.24.2
Python1 product
- urllib3< 1.24.2
4 vendors · 5 products
References
12 links- github.com/urllib3/urllib3PACKAGE