~ / search / GHSA-9f24-jqhm-jfcw

GHSA-9f24-jqhm-jfcw

fetch(url) leads to a memory leak in undici

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-24750

Packages

EcosystemPackageAffectedFixed in
npm undici >= 6.0.0, < 6.6.1 6.6.1

Details

As written in the advisory (Markdown source, shown as plain text).

### 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.

References

External links from the advisory. They lead to third-party sites.