Vulnerability
CVE-2018-20060
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.
37 advisories report this vulnerability, across 10 ecosystems.
Advisories in Red Hat
-
RHSA-2019:2272
Red Hat Security Advisory: python-urllib3 security update
-
RHSA-2020:0850
Red Hat Security Advisory: python-pip security update
-
RHSA-2020:0851
Red Hat Security Advisory: python-virtualenv security update
-
RHSA-2020:1605
Red Hat Security Advisory: python27:2.7 security, bug fix, and enhancement update
-
RHSA-2020:1916
Red Hat Security Advisory: python-pip security update
-
RHSA-2020:2068
Red Hat Security Advisory: python-pip security update
-
RHSA-2020:2081
Red Hat Security Advisory: python-virtualenv security update
-
RHVEX-CVE-2018-20060
python-urllib3: Cross-host redirect does not remove Authorization header allow for credential exposure
References
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html
- https://access.redhat.com/errata/RHSA-2019:2272
- https://bugzilla.redhat.com/show_bug.cgi?id=1649153
- https://github.com/urllib3/urllib3/blob/master/CHANGES.rst
- https://github.com/urllib3/urllib3/issues/1316
- https://github.com/urllib3/urllib3/pull/1346
- https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD/
- 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/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ/
- https://usn.ubuntu.com/3990-1/
- https://security.netapp.com/advisory/ntap-20241227-0010/