CVE-2024-24750: nodejs undici Uncontrolled Resource Consumption
Vulnerability summary
CVE-2024-24750 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in nodejs undici. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.2% of scored vulnerabilities.
Timeline
- 16-02-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
0.00 pp
From 0.70% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Affected systems
Nodejs1 product
- undici≥ 6.0.0, < 6.6.1
Npm1 product
- undici≥ 6.0.0, < 6.6.1
Ubuntu1 product
- node-undiciAll versions (No fix recorded)
3 vendors · 3 products
References
9 links- github.com/nodejs/undici/security/advisories/GHSA-9f24-jqhm-jfcwX Refsource CONFIRMREPORTWEBVendor Advisory
- github.com/nodejs/undici/commit/87a48113f1f68f60aa09abb07276d7c35467c663X Refsource MISCREPORTWEBPatch
- security.netapp.com/advisory/ntap-20240419-0006/Third Party Advisory
- github.com/nodejs/undiciPACKAGE