Undici vulnerable to data leak when using response.arrayBuffer()
CVE-2024-38372Published 8 Jul 2024, 20:25 UTC
Real-world risk
0.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.0
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. Depending on network and process conditions of a `fetch()` request, `response.arrayBuffer()` might include portion of memory from the Node.js process. This has been patched in v6.19.2.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| undiciNiche | >= 6.14.0, < 6.19.2 | 6.19.2 |
What to do
Update to a fixed version: 6.19.2.
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 T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 42), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.063
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.063 × threat 0.950.180
- Rounded to one decimal between 0.1 and 100.2
Exploitation and evidence timeline
- 8 Jul 2024 Published
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
CWE-201
References
- https://github.com/nodejs/undici/security/advisories/GHSA-3g92-w8c5-73pqvendor-advisory, x-transferred
- https://github.com/nodejs/undici/issues/3328misc, x-transferred
- https://github.com/nodejs/undici/issues/3337misc, x-transferred
- https://github.com/nodejs/undici/pull/3338misc, x-transferred
- https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36misc, x-transferred
- https://security.netapp.com/advisory/ntap-20240828-0009/
- CVE-2024-38372 on CVE.org