CVE-2018-25091
Authorization Header forwarded on redirect
Reported by mitre · Published October 15, 2023
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-pip | Ubuntu:Pro:18.04:LTS | 9.0.1-2.3~ubuntu1.18.04.8+esm2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | urllib3 | 0 |
Timeline
- Oct 15, 2023 CVE Published
- Oct 16, 2023 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-25091
vulnetix vdb fixes CVE-2018-25091
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-25091/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart