CVE-2018-20060
Exposure of Sensitive Information to an Unauthorized Actor in urllib3
Reported by mitre · Published December 11, 2018
urllib3 is fixed in 1.23 (PyPI)
urllib3 before version 1.23 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| urllib3 | PyPI | 1.23 |
| python-virtualenv | Amazon Linux | 15.1.0-4.amzn2 |
| python-urllib3 | Amazon Linux | 1.24.3-1.amzn2.0.1 |
| python-urllib3 | Ubuntu:18.04:LTS | 1.22-1ubuntu0.18.04.1 |
| urllib3 | python | 1.23 |
| python-urllib3 | Ubuntu:16.04:LTS | 1.13.1-2ubuntu0.16.04.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | urllib3 | 0 |
| amazon:2 | python-virtualenv | 0 |
| amazon:2 | python-urllib3 | 0 |
| n/a | n/a | * |
Timeline
- Dec 11, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (83 in total, the first dated here)
- Mar 6, 2026 Security Advisory (89 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-20060
vulnetix vdb fixes CVE-2018-20060
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-20060/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2019-a6c56f9756 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-6afaa38e7b vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-8560719e80 vendor-advisoryx_refsource_FEDORA
- USN-3990-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2019:2272 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2019:2131 vendor-advisoryx_refsource_SUSE
- [debian-lts-announce] 20210615 [SECURITY] [DLA 2686-1] python-urllib3 security update mailing-listx_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20241227-0010/ url
- https://nvd.nist.gov/vuln/detail/CVE-2018-20060 advisory
- https://github.com/advisories/GHSA-www2-v7xj-xrc6 advisory
- https://github.com/urllib3/urllib3/commit/560bd227b90f74417ffaedebf5f8d05a8ee4f532 patch
- https://usn.ubuntu.com/3990-1 url
- https://security.netapp.com/advisory/ntap-20241227-0010 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD url
…and 5 more