CVE-2025-50182 urllib3 does not control redirects in browsers and Node.js
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f patch
- github.com product
- https://github.com/urllib3/urllib3/releases/tag/2.5.0 product release-notes
- pypi.org product
- github.com vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2025-50182 vendor-advisory
- bugs.debian.org issue-tracking