CVE-2026-92954patriksimek vm2
Denegación de servicio en vm2 por Promises no manejadas desde el host
Crítica 9.2 Sin autenticación
Seguir: esta CVE · patriksimek · patriksimek vm2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 4.0
- 9.2
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 17 sep 2026
- Actualizada
- 21 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-248
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
vm2 versiones 3.10.0 a 3.11.7 no marcan como manejadas las Promises rechazadas que regresan del host hacia el sandbox. Un atacante puede invocar funciones del host que retornan Promises rechazadas e ignorar el valor de retorno, dejando la Promise sin manejar y causando que Node.js termine el proceso del host.
Ver el texto original de NVD (en inglés)
vm2 is a sandbox library for running untrusted JavaScript in Node.js. In versions >= 3.10.0 and <= 3.11.7, Promises returned from the host realm into the sandbox are not marked as handled at the bridge boundary; only Promises created inside the sandbox are wrapped with a rejection-swallowing handler (lib/setup-sandbox.js), and the bridge only installs host-side rejection sanitizers when sandbox code calls .then/.catch/.finally. As a result, code running in the sandbox can invoke a host function that returns a rejected Promise (for example events.once() exposed via the NodeVM events builtin, or any embedder-provided Promise-returning API) and simply ignore the return value, leaving the host Promise unhandled so that Node.js's default unhandled-rejection behavior terminates the host process. This is an incomplete fix of GHSA-hw58-p9xv-2mjh. The issue is fixed in version 3.11.8.
Qué hacer
Hay parche · versiones corregidas: 3.11.8
Actualiza vm2 a la versión 3.11.8 o superior.
- Aplica la actualización de seguridad del fabricante para vm2.
- 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 | vm2 |
≥ 3.10.0 < 3.11.8 |
3.11.8 |
npm install vm2@3.11.8 |
Según OSV / GitHub Advisories (GHSA-gjq8-xm47-88rc). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- patriksimek · vm2
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.