Vulnerabilities · 2018 · Python
CVE-2018-20060
Python Urllib3 vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Urllib3, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Urllib3 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1649153 · Mitigation
- github.com/urllib3/urllib3/blob/master/CHANGES.rst · Third Party Advisory
- github.com/urllib3/urllib3/issues/1316 · Third Party Advisory
- github.com/urllib3/urllib3/pull/1346 · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html
- access.redhat.com/errata/RHSA-2019:2272
- lists.debian.org/debian-lts-announce/2021/06/msg00015.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5
- nvd.nist.gov/vuln/detail/CVE-2018-20060
- cve.org/CVERecord?id=CVE-2018-20060
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.