ADVISORIES

GitHub Advisory Database

GHSA-9f24-jqhm-jfcw

fetch(url) leads to a memory leak in undici

Moderate CVE-2024-24750

Details

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.

Affected packages

EcosystemPackageAffected versions
npmundici
From 6.0.0 before 6.6.1 (fixed in 6.6.1)

References