Improper resource allocation In undici
Description
fetch(url) leads to a memory leak in undici
Impact
Calling fetch(url) and not consuming the incoming body ((or consuming it very slowing) will lead to a memory leak.
Patches
Patched in v6.6.1
Workarounds
Make sure to always consume the incoming body.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
npm | 6.6.1 |
Aliases
1. 2. 3. 4. 5.
References
1. 2. 3. 4.