Skip to content

CVE-2025-50182 urllib3 does not control redirects in browsers and Node.js

MediumCVSS 6.1 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Debian

Description

urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Node.js. urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means Python libraries can be used to make HTTP requests from a browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects, but the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior. This issue has been patched in version 2.5.0.

Upgrade path

8 packages: 4 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
azure linux python-urllib3(Azure Linux 3.0) All versions No fix listed No fix yet
azure linux tensorflow(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner python-urllib3(CBL-Mariner 2.0) All versions No fix listed No fix yet
debian/python-urllib3(Debian 13) < 2.3.0-3 2.3.0-3 Fixed
debian/python-urllib3(Debian 14) < 2.3.0-3 2.3.0-3 Fixed
pypi urllib3(PyPI) = 2.2.0; = 2.2.1; = 2.2.2; = 2.2.3 +3 more 2.5.0 Fixed
python urllib3 >= 2.3.0, < 2.5.0 2.5.0 Fixed
urllib3 = >= 2.2.0, < 2.5.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi urllib3(PyPI) >= 2.2.0, < 2.5.0 2.5.0
pypi urllib3(PyPI) = 2.2.0 No fix listed
pypi urllib3(PyPI) = 2.2.1 No fix listed
pypi urllib3(PyPI) = 2.2.2 No fix listed
pypi urllib3(PyPI) = 2.2.3 No fix listed
pypi urllib3(PyPI) = 2.3.0 No fix listed
pypi urllib3(PyPI) = 2.4.0 No fix listed
cbl-mariner python-urllib3(CBL-Mariner:2.0) All versions No fix listed
azure linux python-urllib3(Azure Linux:3.0) All versions No fix listed
azure linux tensorflow(Azure Linux:3.0) All versions No fix listed
urllib3 = >= 2.2.0, < 2.5.0 No fix listed
debian/python-urllib3(Debian:14) < 2.3.0-3 2.3.0-3
debian/python-urllib3(Debian:13) < 2.3.0-3 2.3.0-3
python urllib3 >= 2.3.0, < 2.5.0 2.5.0

References