{"id":"UBUNTU-CVE-2018-20060","details":"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.","modified":"2026-02-04T03:29:01.797347Z","published":"2018-12-11T00:00:00Z","related":["USN-3990-1"],"upstream":["CVE-2018-20060"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20060"},{"type":"REPORT","url":"https://github.com/urllib3/urllib3/blob/master/CHANGES.rst"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3990-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20060"}],"affected":[{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.7.1-1ubuntu4.1+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-2","1.7.1-1","1.7.1-1build1","1.7.1-1ubuntu0.1","1.7.1-1ubuntu3","1.7.1-1ubuntu4","1.7.1-1ubuntu4.1","1.7.1-1ubuntu4.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-urllib3","binary_version":"1.7.1-1ubuntu4.1+esm1"},{"binary_name":"python-urllib3-whl","binary_version":"1.7.1-1ubuntu4.1+esm1"},{"binary_name":"python3-urllib3","binary_version":"1.7.1-1ubuntu4.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20060.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.13.1-2ubuntu0.16.04.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-2ubuntu0.16.04.3"}]}],"versions":["1.11-1","1.12-1","1.13.1-1","1.13.1-2","1.13.1-2ubuntu0.16.04.1","1.13.1-2ubuntu0.16.04.2"],"ecosystem_specific":{"binaries":[{"binary_name":"python-urllib3","binary_version":"1.13.1-2ubuntu0.16.04.3"},{"binary_name":"python3-urllib3","binary_version":"1.13.1-2ubuntu0.16.04.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20060.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.22-1ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-1ubuntu0.18.04.1"}]}],"versions":["1.21.1-1","1.22-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-urllib3","binary_version":"1.22-1ubuntu0.18.04.1"},{"binary_name":"python3-urllib3","binary_version":"1.22-1ubuntu0.18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20060.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}