First published: Fri Feb 16 2024(Updated: )
### 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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
npm/undici | >=6.0.0<=6.6.0 | 6.6.1 |
Node.js | >=6.0.0<6.6.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-24750 is categorized as a medium severity vulnerability due to its potential to cause a memory leak.
To fix CVE-2024-24750, upgrade to the undici package version 6.6.1 or later.
The impact of CVE-2024-24750 is a memory leak when calling fetch(url) without properly consuming the incoming body.
CVE-2024-24750 affects undici versions from 6.0.0 to 6.6.0.
The recommended workaround for CVE-2024-24750 is to always consume the incoming body when using the fetch function.