Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
CVE-2024-30260Published 4 Apr 2024, 15:15 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 cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| undiciNiche | < 5.28.4; >= 6.0.0, < 6.11.1 | 5.28.4, 6.11.1 |
What to do
Update to a fixed version: 5.28.4, 6.11.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.7% chance of exploitation in 30 days (percentile 56), 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
- 4 Apr 2024 Published
- 3 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
CWE-285
References
- https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7vendor-advisory, x-transferred
- https://github.com/nodejs/undici/commit/64e3402da4e032e68de46acb52800c9a06aaea3fmisc, x-transferred
- https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75misc, x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/x-transferred
- https://security.netapp.com/advisory/ntap-20240905-0008/
- CVE-2024-30260 on CVE.org