GitHub Advisoryadvisory · npm

GHSA-3g92-w8c5-73pq Undici vulnerable to data leak when using response.arrayBuffer()

LOW Published 2024-07-09 Modified 2024-07-09 Official page ↗
Aliases
CVE-2024-38372
Ecosystem
npm
Packages
undici
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
Weaknesses
CWE-201
Reviewed
2024-07-09

Affected packages

• npm undici: >= 6.14.0, < 6.19.2 → fixed in 6.19.2

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

Related

Alias · CVE (1)

  • CVE-2024-38372 Undici is an HTTP/1.1 client, written from scratch for Node.js. vulnerability

Weakness · CWE (1)

  • CWE-201 Insertion of Sensitive Information Into Sent Data weakness

References