Undici memory leak via fetch (6.6.0) consume body to mitigate
CVE-2024-24750 Published on February 16, 2024
Backpressure request ignored in fetch() in Undici
Undici is an HTTP/1.1 client, written from scratch for Node.js. In affected versions calling `fetch(url)` and not consuming the incoming body ((or consuming it very slowing) will lead to a memory leak. This issue has been addressed in version 6.6.1. Users are advised to upgrade. Users unable to upgrade should make sure to always consume the incoming body.
Vulnerability Analysis
CVE-2024-24750 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
What is a Resource Exhaustion Vulnerability?
The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.
CVE-2024-24750 has been classified to as a Resource Exhaustion vulnerability or weakness.
Products Associated with CVE-2024-24750
Want to know whenever a new CVE is published for nodejs Undici? stack.watch will email you.
Affected Versions
nodejs undici:- Version >= 6.0.0, < 6.6.1 is affected.
- Version 6.0.0 and below 6.6.1 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.