CVE-2018-7158Nodejs Node.js
Alta 7.5 Sin autenticación
Seguir: esta CVE · Nodejs · Nodejs Node.js Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.5% probabilidad de explotación en 30 días · percentil 90
- Requiere autenticación
- No
- Publicada
- 17 may 2018
- Actualizada
- 8 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-185
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
The `'path'` module in the Node.js 4.x release line contains a potential regular expression denial of service (ReDoS) vector. The code in question was replaced in Node.js 6.x and later so this vulnerability only impacts all versions of Node.js 4.x. The regular expression, `splitPathRe`, used within the `'path'` module for the various path parsing functions, including `path.dirname()`, `path.extname()` and `path.parse()` was structured in such a way as to allow an attacker to craft a string, that when passed through one of these functions, could take a significant amount of time to evaluate, potentially leading to a full denial of service.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Node.js.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| nodejs | node.js | ≥ 4.0.0 ≤ 4.1.2 |
| nodejs | node.js | ≥ 4.2.0 ≤ 4.9.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- nodejs.org Vendor Advisory