nodejs/undici · Security
Undici vulnerable to data leak when using response.arrayBuffer()
- GHSA ID
- GHSA-3g92-w8c5-73pq
- CVE ID
- CVE-2024-38372
- Severity
- low
- Published
- Updated
- CVSS
- 2 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
- CVSS v3
- 2 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
- CVSS v4
- 2 · CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
Impact
Depending on network and process conditions of a fetch() request, response.arrayBuffer() might include portion of memory from the Node.js process.
Patches
This has been patched in v6.19.2.
Workarounds
There are no known workaround.
References
https://github.com/nodejs/undici/issues/3337 https://github.com/nodejs/undici/issues/3328 https://github.com/nodejs/undici/pull/3338 https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36
CWEs
- CWE-201 · Insertion of Sensitive Information Into Sent Data
References
- https://github.com/nodejs/undici/security/advisories/GHSA-3g92-w8c5-73pq ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-38372 ↗
- https://github.com/nodejs/undici/issues/3328 ↗
- https://github.com/nodejs/undici/issues/3337 ↗
- https://github.com/nodejs/undici/pull/3338 ↗
- https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36 ↗
- https://github.com/advisories/GHSA-3g92-w8c5-73pq ↗