{"id":"UBUNTU-CVE-2025-50181","details":"urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.","modified":"2026-01-30T00:36:05.538431Z","published":"2025-06-19T01:15:00Z","related":["USN-7599-1","USN-7599-2"],"upstream":["CVE-2025-50181"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-50181"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-50181"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7599-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7599-2"}],"affected":[{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.13.1-2ubuntu0.16.04.4+esm3?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-2ubuntu0.16.04.4+esm3"}]}],"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","1.13.1-2ubuntu0.16.04.4+esm1","1.13.1-2ubuntu0.16.04.4+esm2"],"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+esm3"},{"binary_name":"python3-urllib3","binary_version":"1.13.1-2ubuntu0.16.04.4+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.22-1ubuntu0.18.04.2+esm3?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-1ubuntu0.18.04.2+esm3"}]}],"versions":["1.21.1-1","1.22-1","1.22-1ubuntu0.18.04.1","1.22-1ubuntu0.18.04.2","1.22-1ubuntu0.18.04.2+esm1","1.22-1ubuntu0.18.04.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-1ubuntu0.18.04.2+esm3","binary_name":"python-urllib3"},{"binary_name":"python3-urllib3","binary_version":"1.22-1ubuntu0.18.04.2+esm3"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.25.8-2ubuntu0.4+esm1?arch=source&distro=esm-infra/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.8-2ubuntu0.4+esm1"}]}],"versions":["1.24.1-1ubuntu1","1.24.1-1ubuntu2","1.25.8-1","1.25.8-2","1.25.8-2ubuntu0.1","1.25.8-2ubuntu0.2","1.25.8-2ubuntu0.3","1.25.8-2ubuntu0.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"python3-urllib3","binary_version":"1.25.8-2ubuntu0.4+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-pip@22.0.2+dfsg-1ubuntu0.6?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.0.2+dfsg-1ubuntu0.6"}]}],"versions":["20.3.4-4","21.3.1+dfsg-3","22.0.2+dfsg-1","22.0.2+dfsg-1ubuntu0.1","22.0.2+dfsg-1ubuntu0.2","22.0.2+dfsg-1ubuntu0.3","22.0.2+dfsg-1ubuntu0.4","22.0.2+dfsg-1ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"22.0.2+dfsg-1ubuntu0.6","binary_name":"python3-pip"},{"binary_name":"python3-pip-whl","binary_version":"22.0.2+dfsg-1ubuntu0.6"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@1.26.5-1~exp1ubuntu0.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.5-1~exp1ubuntu0.3"}]}],"versions":["1.26.5-1~exp1","1.26.5-1~exp1ubuntu0.1","1.26.5-1~exp1ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-urllib3","binary_version":"1.26.5-1~exp1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-pip@24.0+dfsg-1ubuntu1.2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.0+dfsg-1ubuntu1.2"}]}],"versions":["23.2+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-1ubuntu1","24.0+dfsg-1ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-pip","binary_version":"24.0+dfsg-1ubuntu1.2"},{"binary_name":"python3-pip-whl","binary_version":"24.0+dfsg-1ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}},{"package":{"name":"python-urllib3","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-urllib3@2.0.7-1ubuntu0.2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7-1ubuntu0.2"}]}],"versions":["1.26.16-1","1.26.18-1","2.0.7-1","2.0.7-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-urllib3","binary_version":"2.0.7-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"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"}]}