CVE-2025-50182
ADVISORY - githubSummary
urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means you can use Python libraries to make HTTP requests from your browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects.
However, the retries
and redirect
parameters are ignored with Pyodide; the runtime itself determines redirect behavior.
Affected usages
Any code which relies on urllib3 to control the number of redirects for an HTTP request in a Pyodide runtime.
Impact
Redirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects may remain vulnerable if a Pyodide runtime redirect mechanism is unsuitable.
Remediation
If you use urllib3 in Node.js, upgrade to a patched version of urllib3.
Unfortunately, browsers provide no suitable way which urllib3 can use: XMLHttpRequest
provides no control over redirects, the Fetch API returns opaqueredirect
responses lacking data when redirects are controlled manually. Expect default browser behavior for redirects.
Common Weakness Enumeration (CWE)
URL Redirection to Untrusted Site ('Open Redirect')
URL Redirection to Untrusted Site ('Open Redirect')
GitHub
1.6
CVSS SCORE
5.3mediumPackage | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
---|---|---|---|---|---|
urllib3 | pypi | - | - | >=2.2.0,<2.5.0 | 2.5.0 |
CVSS:3 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
A successful attack depends on conditions beyond the attacker's control, requiring investing a measurable amount of effort in research, preparation, or execution against the vulnerable component before a successful attack.
The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.
The vulnerable system can be exploited without interaction from any user.
An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.
There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.
There is no loss of trust or accuracy within the impacted component.
There is no impact to availability within the impacted component.
NIST
1.6
CVSS SCORE
5.3mediumDebian
-
Ubuntu
-
CVSS SCORE
N/AmediumChainguard
CGA-24x4-j923-j29j
-
Chainguard
CGA-2779-5wq8-r3wv
-
Chainguard
CGA-4286-5p72-ccc8
-
Chainguard
CGA-448f-w8gj-5f48
-
Chainguard
CGA-47mv-9275-x659
-
Chainguard
CGA-48wj-wv79-cx2q
-
Chainguard
CGA-4fxj-f5g3-h788
-
Chainguard
CGA-4w9x-v4r5-qvgm
-
Chainguard
CGA-58f5-pqpr-2gp3
-
Chainguard
CGA-5x99-mqvf-h8cx
-
Chainguard
CGA-6665-3fw5-ghg8
-
Chainguard
CGA-6f6h-mhf7-434w
-
Chainguard
CGA-856x-qqvv-3cf9
-
Chainguard
CGA-8jq3-36r3-p6vm
-
Chainguard
CGA-c3f2-v8hp-ffm5
-
Chainguard
CGA-c95j-rqmq-9742
-
Chainguard
CGA-cf43-c442-xxf5
-
Chainguard
CGA-frc6-4g45-r9jw
-
Chainguard
CGA-g395-3w3w-p3pp
-
Chainguard
CGA-gq75-42j3-pchq
-
Chainguard
CGA-gqx3-x59r-w3j4
-
Chainguard
CGA-h9xq-jh3x-99cx
-
Chainguard
CGA-hqgf-934c-m753
-
Chainguard
CGA-j3j4-5x85-c328
-
Chainguard
CGA-jrp5-8288-ch22
-
Chainguard
CGA-mvrp-8cjq-9587
-
Chainguard
CGA-p899-8w4f-7vch
-
Chainguard
CGA-q5m4-j4mf-x3v2
-
Chainguard
CGA-qchx-pc45-jq7g
-
Chainguard
CGA-qp7m-vjr3-8q9q
-
Chainguard
CGA-r4hg-4w68-gcw6
-
Chainguard
CGA-rcvj-vh99-3fx7
-
Chainguard
CGA-rggw-m962-q68w
-
Chainguard
CGA-rj7r-92f4-fcff
-
Chainguard
CGA-rj9r-x77m-jwh2
-
Chainguard
CGA-v3vq-f3h2-q6vq
-
Chainguard
CGA-v9c8-gpv8-6x2c
-
Chainguard
CGA-vpm5-q9cq-p6ww
-
Chainguard
CGA-vw5h-4rrw-7rfw
-
Chainguard
CGA-w6g4-5w3r-hvgw
-
Chainguard
CGA-w82m-ggv4-425q
-
Chainguard
CGA-wcgv-g3j4-xmpf
-
Chainguard
CGA-wqm6-7jvw-89jm
-
Chainguard
CGA-x2q7-x733-xh9j
-
minimos
MINI-2xp2-hhm7-7x36
-
minimos
MINI-33pg-98jg-5x3q
-
minimos
MINI-cw43-9g4j-7qfj
-
minimos
MINI-fxx6-6gfc-q5pv
-
minimos
MINI-r6mx-wf87-j772
-