Bug 2264728 (CVE-2024-24750) - CVE-2024-24750 undici: memory leak
Summary: CVE-2024-24750 undici: memory leak
Keywords:
Status: NEW
Alias: CVE-2024-24750
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2264729
TreeView+ depends on / blocked
 
Reported: 2024-02-18 11:35 UTC by ybuenos
Modified: 2024-04-13 00:13 UTC (History)
10 users (show)

Fixed In Version: undici 6.6.1
Doc Type: ---
Doc Text:
An uncontrolled resource consumption flaw was found in undici. Calling `fetch(url)` and not consuming the incoming body or consuming it very slowly leads to a memory leak.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2024-02-18 11:35:17 UTC
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.

https://github.com/nodejs/undici/commit/87a48113f1f68f60aa09abb07276d7c35467c663
https://github.com/nodejs/undici/security/advisories/GHSA-9f24-jqhm-jfcw


Note You need to log in before you can comment on or make changes to this bug.