{"id":"UBUNTU-CVE-2018-25091","details":"urllib3 before 1.24.2 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. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).","modified":"2026-02-04T02:53:51.344308Z","published":"2023-10-15T19:15:00Z","related":["USN-6473-1","USN-6473-2"],"upstream":["CVE-2018-25091"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-25091"},{"type":"REPORT","url":"https://github.com/urllib3/urllib3/issues/1510"},{"type":"REPORT","url":"https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2"},{"type":"REPORT","url":"https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6473-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6473-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-25091"}],"affected":[{"package":{"name":"python-pip","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm5?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-2","1.5.4-1","1.5.4-1ubuntu1","1.5.4-1ubuntu3","1.5.4-1ubuntu4","1.5.4-1ubuntu4+esm1","1.5.4-1ubuntu4+esm2","1.5.4-1ubuntu4+esm3","1.5.4-1ubuntu4+esm4","1.5.4-1ubuntu4+esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"python-pip","binary_version":"1.5.4-1ubuntu4+esm5"},{"binary_name":"python-pip-whl","binary_version":"1.5.4-1ubuntu4+esm5"},{"binary_name":"python3-pip","binary_version":"1.5.4-1ubuntu4+esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25091.json"}},{"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-25091.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.13.1-2ubuntu0.16.04.4+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-2ubuntu0.16.04.4+esm1"}]}],"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","1.13.1-2ubuntu0.16.04.3","1.13.1-2ubuntu0.16.04.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"python-urllib3","binary_version":"1.13.1-2ubuntu0.16.04.4+esm1"},{"binary_name":"python3-urllib3","binary_version":"1.13.1-2ubuntu0.16.04.4+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25091.json"}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm6?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.1-2ubuntu0.6+esm6"}]}],"versions":["1.5.6-7ubuntu1","1.5.6-7ubuntu2","8.0.2-7","8.0.3-1","8.0.3-2","8.1.0-1","8.1.0-2","8.1.1-1","8.1.1-2","8.1.1-2ubuntu0.1","8.1.1-2ubuntu0.2","8.1.1-2ubuntu0.4","8.1.1-2ubuntu0.6","8.1.1-2ubuntu0.6+esm2","8.1.1-2ubuntu0.6+esm3","8.1.1-2ubuntu0.6+esm4","8.1.1-2ubuntu0.6+esm5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python-pip","binary_version":"8.1.1-2ubuntu0.6+esm6"},{"binary_name":"python-pip-whl","binary_version":"8.1.1-2ubuntu0.6+esm6"},{"binary_name":"python3-pip","binary_version":"8.1.1-2ubuntu0.6+esm6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25091.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.22-1ubuntu0.18.04.2+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-1ubuntu0.18.04.2+esm1"}]}],"versions":["1.21.1-1","1.22-1","1.22-1ubuntu0.18.04.1","1.22-1ubuntu0.18.04.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"python-urllib3","binary_version":"1.22-1ubuntu0.18.04.2+esm1"},{"binary_name":"python3-urllib3","binary_version":"1.22-1ubuntu0.18.04.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25091.json"}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.8+esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.1-2.3~ubuntu1.18.04.8+esm2"}]}],"versions":["9.0.1-2","9.0.1-2.3~ubuntu1","9.0.1-2.3~ubuntu1.18.04.1","9.0.1-2.3~ubuntu1.18.04.2","9.0.1-2.3~ubuntu1.18.04.3","9.0.1-2.3~ubuntu1.18.04.4","9.0.1-2.3~ubuntu1.18.04.5","9.0.1-2.3~ubuntu1.18.04.5+esm2","9.0.1-2.3~ubuntu1.18.04.5+esm3","9.0.1-2.3~ubuntu1.18.04.6","9.0.1-2.3~ubuntu1.18.04.6+esm1","9.0.1-2.3~ubuntu1.18.04.7","9.0.1-2.3~ubuntu1.18.04.7+esm1","9.0.1-2.3~ubuntu1.18.04.8","9.0.1-2.3~ubuntu1.18.04.8+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-pip","binary_version":"9.0.1-2.3~ubuntu1.18.04.8+esm2"},{"binary_name":"python-pip-whl","binary_version":"9.0.1-2.3~ubuntu1.18.04.8+esm2"},{"binary_name":"python3-pip","binary_version":"9.0.1-2.3~ubuntu1.18.04.8+esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25091.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}