Description
Calling fetch(url) and not consuming the incoming body ((or consuming it very slowing) will lead to a memory leak.
Recommendation
Update the undici package to the latest compatible version. Followings are version details:
- Affected version(s): >= 6.0.0, <= 6.6.0
- Patched version(s): 6.6.1
References
Related Issues
- Undici vulnerable to data leak when using response.arrayBuffer() - CVE-2024-38372
- Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resourc - CVE-2026-22036
- Undici proxy-authorization header not cleared on cross-origin redirect in fetch - CVE-2024-24758
- Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect - CVE-2024-30261
- Tags:
- npm
- undici
Anything's wrong? Let us know Last updated on December 17, 2024