Skip to content

CVE-2023-29017 vm2 Sandbox Escape vulnerability

CriticalCVSS 9.8 EPSS 63.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm vm2(npm) < 3.9.15 3.9.15 Fixed
vm2 project vm2 < 3.9.15 3.9.15 Fixed
patriksimek vm2 = < 3.9.15 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm vm2(npm) < 3.9.15 3.9.15
patriksimek vm2 = < 3.9.15 No fix listed
vm2 project vm2 < 3.9.15 3.9.15

References