Proxy-Authorization header not cleared on cross-origin redirect in fetch in Undici
CVE-2024-24758Published 16 Feb 2024, 21:40 UTC
Real-world risk
0.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
3.9
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Proxy-Authentication` headers. This issue has been patched in versions 5.28.3 and 6.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| undiciNiche | < 5.28.3; >= 6.0.0, < 6.6.1 | 5.28.3, 6.6.1 |
What to do
Update to a fixed version: 5.28.3, 6.6.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.063
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.063 × threat 0.850.161
- Rounded to one decimal between 0.1 and 100.2
Exploitation and evidence timeline
- 16 Feb 2024 Published
- 3 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
CWE-200
References
- https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3vendor-advisory, x-transferred
- https://github.com/nodejs/undici/commit/b9da3e40f1f096a06b4caedbb27c2568730434efmisc, x-transferred
- https://security.netapp.com/advisory/ntap-20240419-0007/x-transferred
- http://www.openwall.com/lists/oss-security/2024/03/11/1x-transferred
- CVE-2024-24758 on CVE.org