VDB
Sign up
LOW2.0

GHSA-3g92-w8c5-73pq

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

Quick fix

GHSA-3g92-w8c5-73pq — undici: upgrade to the fixed version with the command below.

npm install undici@6.19.2

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/undici
Introduced in: 6.14.0Fixed in: 6.19.2
Fixnpm install undici@6.19.2

References