Skip to content

CVE-2023-37903 Sandbox Escape in vm2

CriticalCVSS 10.0 EPSS 4.2%
Published
Updated
Exploit status
No public exploit known

Description

vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.

Upgrade path

3 packages: 2 fixed.

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

Affected products

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

References