llamaCVEVulnerability Intelligence
/
vm2

CVE-2023-29017

vm2 Sandbox Escape vulnerability

Crítica · EPSS ≥ 10 %UnclearParche disponible
Descargar PNG JSON
CVSS 3.1
10.0
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
ExplotaciónExploit públicoSSVC: poc · no figura en CISA KEV
Exploits públicos31 fuente · 1 confirmado en GitHub
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición1.323 dDesde la divulgación, 6 abr 2023, 2:18 p. m.
EPSS ≥ 10 %28 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Umbral EPSS
Exploit en GitHub
Remediación
Parche 3.9.15
Monitoreo
Detectada
6 abr 23
10 feb 25
28 oct 26
29 oct 26
3 nov 26
20 nov 26
6 abr 23
2 mar 24
27 ene 25
24 dic 25
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-29017 divulgada · CVSS 10 (CNA)
Remediación Parche 3.9.15 vm2 · 0 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Explotación Exploit en GitHub wooung105/Node_CVE-2023-29017
Resumen
Resumen generado por IA · CC-BY 4.0

The vm2 sandbox library for Node.js, which is used to run untrusted code, is affected. A remote attacker could escape the sandbox and execute arbitrary code on the host system running it.

Affects vm2 3.9.14 and earlier when an unhandled async error occurs, reported on Node 17.9.1, 18.15.0 and 19.8.1. Fixed in vm2 3.9.15.

¿Qué significa?A flaw lets an attacker bypass vm2's sandbox protections and gain remote code execution on the host running the sandbox.
¿Quién está afectado?vm2 versions up to and including 3.9.14 are affected, and the bug requires an unhandled async error to occur. It was reported on Node 17.9.1, 18.15.0 and 19.8.1. Check the installed vm2 version in the project's dependency list.
¿Qué hacer?Upgrade vm2 to version 3.9.15, which contains the fix. No workaround is listed in the advisory.
Descripción original del registro

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects vm2 version ~3.9.14 (affected versions are <= 3.9.14).“vm2 version: ~3.9.14”
02
Requires an unhandled async error to occur.“in case of unhandled async errors”
03
Reported on Node versions 18.15.0, 19.8.1 and 17.9.1.“Node version: 18.15.0, 19.8.1, 17.9.1”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
vm2< 3.9.15
3.9.15
3.12.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmvm2
Corregida 3.9.15 0 d 3.12.2 no afectada
Versiones corregidas3.9.15
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
passwa11/CVE-2023-29017-reverse-shell · timb-machine-mirrors/seongil-wi-CVE-2023-29017 · wooung105/Node_CVE-2023-29017
3
Ver los 3 repositorios de GitHub (1 con exploit confirmado)
passwa11/CVE-2023-29017-reverse-shell
timb-machine-mirrors/seongil-wi-CVE-2023-29017
wooung105/Node_CVE-2023-29017exploit

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
Exploithttps://github.com/passwa11/CVE-2023-29017-reverse-shell
Exploithttps://github.com/timb-machine-mirrors/seongil-wi-CVE-2023-29017
Exploithttps://github.com/wooung105/Node_CVE-2023-29017
Exploithttps://github.com/gunwoo105/Node_CVE-2023-29017
Otrahttps://github.com/patriksimek/vm2/issues/515
Otrahttps://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50
Otrahttps://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.