PT-2024-2754 · Undici · Undici
Mcollina
·
Published
2024-02-05
·
Updated
2024-12-17
·
CVE-2024-24750
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Undici versions prior to 6.6.1
Description
The issue is related to the
fetch() function of the Undici HTTP/1.1 client for Node.js, which can lead to uncontrolled resource consumption. This can be exploited by a remote attacker to cause a denial of service. The problem arises when fetch(url) is called and the incoming body is not consumed or is consumed very slowly, resulting in a memory leak.Recommendations
For versions prior to 6.6.1, upgrade to version 6.6.1 or later to resolve the issue.
For users unable to upgrade, make sure to always consume the incoming body when calling
fetch(url) to minimize the risk of exploitation.Exploit
Fix
Resource Exhaustion
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Undici