p PatchFirst

CVE-2026-100722

CVE-2026-100722 · vm2 before 3.12.2 Host Process Termination via Construct Trap

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

vm2 before 3.12.2 does not apply host-side Promise rejection handling in the sandbox-to-host construct trap. In BaseHandler, the apply trap calls markHostPromiseHandled() on the returned value, but the adjacent construct path returns the result of Reflect.construct without the same sanitization. If an embedder exposes a constructable host function whose constructor returns a native rejected Promise, an untrusted script executed via VM.run can invoke it with `new` and ignore the result; the rejected host Promise crosses the bridge unhandled and, under Node's strict unhandled-rejection policy, is promoted to an uncaught exception that terminates the host process.

CVSS 8.9 · Alta · EPSS 0,3% · Código de explotación público · Corrección disponible

Publicación
Actualización

Pila tecnológica: node

Productos y versiones afectados

  • vm2

    Versiones
    • ≥ 0, < 3.12.2: Afectada (semver)
    • 3.12.2: No afectada (semver)

    Actualiza a 3.12.2

  • vm2 npm

    Intervalos de versiones afectados
    • SEMVER: < 3.12.2

    Actualiza a 3.12.2

Fuentes originales

Comprueba tu servidor →