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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5 exploit vendor-advisory
- https://github.com/patriksimek/vm2/commit/d9a1fde8ec5a5a9c9e5a69bf91d703950859d744 patch
- https://github.com/patriksimek/vm2/releases/tag/v3.10.0
- security.netapp.com
- nvd.nist.gov third-party-advisory vendor-advisory
- gist.github.com
- security.netapp.com
- github.com
- github.com product