{"id":"CVE-2024-38372","published":"2024-07-08T20:25:59Z","modified":"2024-08-28T15:02:48Z","title":"Undici vulnerable to data leak when using response.arrayBuffer()","vendor":"nodejs","product":"undici","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00467,"percentile":0.41328,"provenance":"source"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3g92-w8c5-73pq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodejs/undici/issues/3328","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/issues/3337","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/pull/3338","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20240828-0009/","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":8.27},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"undici","versions":[">= 6.14.0, < 6.19.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-11T20:29:36.252422Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=6.14.0, <6.19.2"],"patched":["6.19.2"],"from":["GHSA-3g92-w8c5-73pq"],"provenance":"source"}],"summary":{"text":"The flaw is in the undici HTTP/1.1 client for Node.js, where the response.arrayBuffer() method, when used with fetch(), can return a portion of the Node.js process's memory. An attacker can only exploit this under specific network and process conditions, and the vector indicates it requires network access, high privileges, a user interaction, and a changed scope.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:22Z"},"euvd":{"id":"EUVD-2024-2235","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodejs-undici-cve-2024-30261","parents":[{"from":"CVE-2024-30261","to":"CVE-2024-38372","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/web/fetch/util.js"],"commits":["https://github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055","https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3","https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-38372","to":"CVE-2025-22150","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"6.19.2","toFixed":"6.21.1","daysApart":197},{"kind":"same-code","provenance":"machine","files":["lib/web/fetch/body.js"],"commits":["https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36","https://github.com/nodejs/undici/commit/711e20772764c29f6622ddc937c63b6eefdf07d0","https://github.com/nodejs/undici/commit/c2d78cd19fe4f4c621424491e26ce299e65e934a"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-24758","published":"2024-02-16","fixed":"6.6.1","kev":false},{"cve":"CVE-2024-30260","published":"2024-04-04","fixed":"6.11.1","kev":false},{"cve":"CVE-2024-30261","published":"2024-04-04","fixed":"6.11.1","kev":false},{"cve":"CVE-2024-38372","published":"2024-07-08","fixed":"6.19.2","kev":false},{"cve":"CVE-2025-22150","published":"2025-01-21","fixed":"7.2.3","kev":false},{"cve":"CVE-2025-47279","published":"2025-05-15","fixed":"7.5.0","kev":false},{"cve":"CVE-2026-22036","published":"2026-01-14","fixed":"7.18.2","kev":false}],"package":"npm:undici"}}