ADVISORIES

Ubuntu CVE Tracker

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSpython-urllib3
All versions before 1.13.1-2ubuntu0.16.04.4+esm3 (fixed in 1.13.1-2ubuntu0.16.04.4+esm3)
Ubuntu:Pro:18.04:LTSpython-urllib3
All versions before 1.22-1ubuntu0.18.04.2+esm3 (fixed in 1.22-1ubuntu0.18.04.2+esm3)
Ubuntu:Pro:20.04:LTSpython-urllib3
All versions before 1.25.8-2ubuntu0.4+esm1 (fixed in 1.25.8-2ubuntu0.4+esm1)
Ubuntu:22.04:LTSpython-pip
All versions before 22.0.2+dfsg-1ubuntu0.6 (fixed in 22.0.2+dfsg-1ubuntu0.6)
Ubuntu:22.04:LTSpython-urllib3
All versions before 1.26.5-1~exp1ubuntu0.3 (fixed in 1.26.5-1~exp1ubuntu0.3)
Ubuntu:24.04:LTSpython-pip
All versions before 24.0+dfsg-1ubuntu1.2 (fixed in 24.0+dfsg-1ubuntu1.2)
Ubuntu:24.04:LTSpython-urllib3
All versions before 2.0.7-1ubuntu0.2 (fixed in 2.0.7-1ubuntu0.2)

References