urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| node-modules | urllib | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Node-modules | Urllib |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-hq3h-g68c-hp78 | urllib's cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.660% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Node-modules
Node-modules urllib |
|
| Vendors & Products |
Node-modules
Node-modules urllib |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | urllib is an HTTP client for Node.js that supports authentication, redirects, timeouts, and other request features. Prior to 4.9.1 and 2.44.1, urllib follows redirects through followRedirect but reuses caller-supplied options across origins. In src/HttpClient.ts, #requestInternal recursively calls this.#requestInternal(nextUrl.href, options, requestContext), causing options.headers and auth or digestAuth values to be reused when the redirect target has a different scheme, host, or port. Authorization, Cookie, Proxy-Authorization, x-api-key, x-auth-token, and x-access-token can therefore be sent to an attacker-controlled redirected origin, exposing credentials intended for the original origin and potentially allowing reuse against the original partner API or related services. No user interaction is required. This issue is fixed in versions 2.44.1 and 4.9.1. | |
| Title | urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage | |
| Weaknesses | CWE-200 CWE-201 CWE-522 |
|
| References |
|
|
| Metrics |
cvssV3_1
|