MEDIUM 6.5 npm

fetch(url) leads to a memory leak in undici

GHSA-9f24-jqhm-jfcw · CVE-2024-24750

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes