CVE-2023-29017
vm2 Sandbox Escape vulnerability
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmvm2 |
Corregida | 3.9.15 | 0 d | 3.12.2 no afectada |
3.9.15Arsenal público
Ver los 3 repositorios de GitHub (1 con exploit confirmado)
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.
https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvhttps://github.com/passwa11/CVE-2023-29017-reverse-shellhttps://github.com/timb-machine-mirrors/seongil-wi-CVE-2023-29017https://github.com/wooung105/Node_CVE-2023-29017https://github.com/gunwoo105/Node_CVE-2023-29017https://github.com/patriksimek/vm2/issues/515https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
