CVE-2024-24750
JSON

6.5medium

Backpressure request ignored in fetch() in Undici

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9f24-jqhm-jfcw

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.

Affected

Product or packageVersionsReported by
nodejs undici>= 6.0.0, < 6.6.1, from 6.0.0 before 6.6.1CVE List, NVD
undici (npm)from 6.0.0 before 6.6.1GitHub Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

Undici es un cliente HTTP/1.1, escrito desde cero para Node.js. En las versiones afectadas, llamar a `fetch(url)` y no consumir el cuerpo entrante ((o consumirlo muy lentamente) provocará una pérdida de memoria. Este problema se solucionó en la versión 6.6.1. Se recomienda a los usuarios actualizar. Los usuarios no pueden Para actualizar debe asegurarse de consumir siempre el cuerpo entrante.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-24750 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-9f24-jqhm-jfcw changed 2026-09-10CC-BY-4.0
NVDCVE-2024-24750 changed 2026-06-17Public domain