Advisory

GHSA-3g92-w8c5-73pq

Also known as: CVE-2024-38372

Summary

Undici vulnerable to data leak when using response.arrayBuffer()

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-07-09 13:32 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

undici

npm · All systems

Affected

  • introduced 6.14.0, fixed 6.19.2 (semver)

Fixed versions

6.19.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences