urllib3 before version 1.23 does not remove the Authorization HTTP header when following…
Priority MEDIUM 49CWE-200Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 10 fixed, 14 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
EPSS 0.04488 91st percentileScored 2026-11-07
Fix Partial urllib3 (PyPI): 1.23Red Hat: 7 advisoriesRed Hat: 10 fixed, 14 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | urllib3 (PyPI) | before 1.23 | 1.23 | Patch available | GHSA-www2-v7xj-xrc6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- urllib3 (PyPI) Vendor— Affected before 1.23 Fixed in 1.23 Patch available GHSA-www2-v7xj-xrc6
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* | before 1.23 | Vulnerable | python-pillow |
| cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* | 28 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
- cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* Versions before 1.23 Vulnerable ·python-pillow
- cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* Versions 28 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-www2-v7xj-xrc6 urllib3 (PyPI) Fixed in 1.23 Advisory →
Red Hat 7 advisories
- RHSA-2020:2068 Released 2020-05-12 · Red Hat rating Moderatepython-pip security update
- Red Hat Enterprise Linux Client (v. 7) python-pip-9.0.3-7.el7_8, python3-pip-9.0.3-7.el7_8
- Red Hat Enterprise Linux ComputeNode (v. 7) python-pip-9.0.3-7.el7_8, python3-pip-9.0.3-7.el7_8
- Red Hat Enterprise Linux Server (v. 7) python-pip-9.0.3-7.el7_8, python3-pip-9.0.3-7.el7_8
- Red Hat Enterprise Linux Workstation (v. 7) python-pip-9.0.3-7.el7_8, python3-pip-9.0.3-7.el7_8
- RHSA-2020:2081 Released 2020-05-12 · Red Hat rating Moderatepython-virtualenv security update
- Red Hat Enterprise Linux Client Optional (v. 7) python-virtualenv-15.1.0-4.el7_8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-virtualenv-15.1.0-4.el7_8
- Red Hat Enterprise Linux Server (v. 7) python-virtualenv-15.1.0-4.el7_8
- Red Hat Enterprise Linux Workstation (v. 7) python-virtualenv-15.1.0-4.el7_8
- RHSA-2020:1605 Released 2020-04-28 · Red Hat rating Moderatepython27:2.7 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-9.module+el8.1.0+3111+de3f2d8e.noarch::python27:2.7 +47
Show 4 more Red Hat advisories
- RHSA-2020:1916 Released 2020-04-28 · Red Hat rating Moderatepython-pip security update
- Red Hat Enterprise Linux AppStream (v. 8) python3-pip-9.0.3-16.el8
- Red Hat Enterprise Linux BaseOS (v. 8) platform-python-pip-9.0.3-16.el8, python-pip-9.0.3-16.el8, python3-pip-wheel-9.0.3-16.el8
- RHSA-2020:0851 Released 2020-03-17 · Red Hat rating Moderatepython-virtualenv security update
- Red Hat Enterprise Linux Client Optional (v. 7) python-virtualenv-15.1.0-4.el7_7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-virtualenv-15.1.0-4.el7_7
- Red Hat Enterprise Linux Server (v. 7) python-virtualenv-15.1.0-4.el7_7
- Red Hat Enterprise Linux Workstation (v. 7) python-virtualenv-15.1.0-4.el7_7
- RHSA-2020:0850 Released 2020-03-17 · Red Hat rating Moderatepython-pip security update
- Red Hat Enterprise Linux Client (v. 7) python-pip-9.0.3-7.el7_7, python3-pip-9.0.3-7.el7_7
- Red Hat Enterprise Linux ComputeNode (v. 7) python-pip-9.0.3-7.el7_7, python3-pip-9.0.3-7.el7_7
- Red Hat Enterprise Linux Server (v. 7) python-pip-9.0.3-7.el7_7, python3-pip-9.0.3-7.el7_7
- Red Hat Enterprise Linux Workstation (v. 7) python-pip-9.0.3-7.el7_7, python3-pip-9.0.3-7.el7_7
- RHSA-2019:2272 Released 2019-08-06 · Red Hat rating Moderatepython-urllib3 security update
- Red Hat Enterprise Linux Client (v. 7) python-urllib3-1.10.2-7.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) python-urllib3-1.10.2-7.el7
- Red Hat Enterprise Linux Server (v. 7) python-urllib3-1.10.2-7.el7
- Red Hat Enterprise Linux Workstation (v. 7) python-urllib3-1.10.2-7.el7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.10 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 3.7 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 3.9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 14 (Rocky) | Affected | No fix yet |
| Red Hat OpenStack Platform 8 (Liberty) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 9 (Mitaka) | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6 | Affected | No fix planned: Out of support scope |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Tower 3.5 for RHEL 7 Server | Fixed | — |
| Red Hat Ansible Tower 3.6 for RHEL 7 | Fixed | — |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:1605, RHSA-2020:1916 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:1916 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2272, RHSA-2020:0850, RHSA-2020:2068 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:0851, RHSA-2020:2081 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:2272, RHSA-2020:0850, RHSA-2020:2068 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:0851, RHSA-2020:2081 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2272, RHSA-2020:0850, RHSA-2020:0851, RHSA-2020:2068, RHSA-2020:2081 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2272, RHSA-2020:0850, RHSA-2020:0851, RHSA-2020:2068, RHSA-2020:2081 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20060
- 2026-10-03 Alias added: GHSA-www2-v7xj-xrc6
References
Advisory 10
- https://github.com/urllib3/urllib3/issues/1316
- https://github.com/urllib3/urllib3/pull/1346
- https://github.com/urllib3/urllib3/blob/master/CHANGES.rst
- FEDORA-2019-a6c56f9756
- FEDORA-2019-6afaa38e7b
- FEDORA-2019-8560719e80
- USN-3990-1
- RHSA-2019:2272
- openSUSE-SU-2019:2131
- https://nvd.nist.gov/vuln/detail/CVE-2018-20060
Other 12
- [debian-lts-announce] 20210615 [SECURITY] [DLA 2686-1] python-urllib3 security update
- https://github.com/urllib3/urllib3/commit/560bd227b90f74417ffaedebf5f8d05a8ee4f532
- https://usn.ubuntu.com/3990-1
- https://security.netapp.com/advisory/ntap-20241227-0010
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD
- https://github.com/urllib3/urllib3
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2018-32.yaml
Sources
- CVE-2018-20060 · CVE Program
- CVE-2018-20060 · NVD
- FIRST EPSS
- GHSA-www2-v7xj-xrc6 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20060 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences