CVE-2018-20060
CRITICAL 9.8CVSS 3.0Exposure of Sensitive Information to an Unauthorized Actor in urllib3
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.
- Published
- 11 Dec 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-www2-v7xj-xrc6PYSEC-2018-32
- Sources
- NVDJSONOSV GHSA-www2-v7xj-xrc6JSONOSV PYSEC-2018-32JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
< 1.23 | 1.23 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* |
= 28 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* |
= 29 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* |
= 30 | |
| OSV | PyPI | urllib3 | < 1.23 | 1.23 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html · WEB
- https://access.redhat.com/errata/RHSA-2019:2272 · WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=1649153 · Issue Tracking, Mitigation, Patch, Third Party Advisory, WEB, REPORT
- https://github.com/urllib3/urllib3/blob/master/CHANGES.rst · Release Notes, Third Party Advisory, WEB
- https://github.com/urllib3/urllib3/issues/1316 · Third Party Advisory, WEB, REPORT
- https://github.com/urllib3/urllib3/pull/1346 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ/ · WEB
- https://usn.ubuntu.com/3990-1/ · WEB
- https://security.netapp.com/advisory/ntap-20241227-0010/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-20060 · ADVISORY
- https://github.com/urllib3/urllib3/commit/560bd227b90f74417ffaedebf5f8d05a8ee4f532 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD · WEB
- https://github.com/urllib3/urllib3 · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2018-32.yaml · WEB
- https://github.com/advisories/GHSA-www2-v7xj-xrc6 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 11 Dec 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Dec 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Dec 2018)