CVE-2025-22150nodejs undici
Media 6.8 Sin autenticación
Seguir: esta CVE · nodejs · nodejs undici Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 56
- CVSS 3.1
- 6.8
- EPSS
- 1.2% probabilidad de explotación en 30 días · percentil 68
- Requiere autenticación
- No
- Publicada
- 21 ene 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-330
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Qué pasa
Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses `Math.random()` to choose the boundary for a multipart/form-data request. It is known that the output of `Math.random()` can be predicted if several of its generated values are known. If there is a mechanism in an app that sends multipart requests to an attacker-controlled website, they can use this to leak the necessary values. Therefore, an attacker can tamper with the requests going to the backend APIs if certain conditions are met. This is fixed in versions 5.28.5, 6.21.1, and 7.2.3. As a workaround, do not issue multipart requests to attacker controlled servers.
Qué hacer
- Aplica la actualización de seguridad del fabricante para undici.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | undici |
≥ 4.5.0 < 5.28.5 |
5.28.5 |
npm install undici@5.28.5 |
| npm | undici |
≥ 6.0.0 < 6.21.1 |
6.21.1 |
npm install undici@6.21.1 |
| npm | undici |
≥ 7.0.0 < 7.2.3 |
7.2.3 |
npm install undici@7.2.3 |
Según OSV / GitHub Advisories (GHSA-c76h-2ccp-4975). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- nodejs · undici
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for nodejs18 · SUSE · SUSE-SU-2026:4261-1 · 18 sep 2026 Crítica
- Security update for nodejs18 · SUSE · SUSE-SU-2026:4248-1 · 17 sep 2026 Crítica
- Security update for nodejs20 · SUSE · SUSE-SU-2026:3930-1 · 3 sep 2026 Crítica
Además: SUSE (+3)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.