Skip to content

CVE-2023-37466 vm2 Sandbox Escape vulnerability

CriticalCVSS 10.0 EPSS 3.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed with the @@species accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox. Version 3.10.0 contains a patch for the issue.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm vm2(npm) < 3.10.0; <= 3.9.19 3.10.0 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
patriksimek vm2 = <= 3.9.19 No fix listed
npm vm2(npm) <= 3.9.19 No fix listed
vm2 project vm2 <= 3.9.19 No fix listed
npm vm2(npm) < 3.10.0 3.10.0

References