Description (CNA)
vm2 before 3.11.7 contains a sandbox escape vulnerability in the CLI tool that allows attackers to execute arbitrary code in the host Node.js process. Attackers can supply a malicious script file to the vm2 CLI that uses require(__filename) to re-execute itself in the host realm, bypassing sandbox isolation and accessing host modules like fs and child_process.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| patriksimek / vm2 | affected 0 before 3.11.7; unaffected 3.11.7 |
CWE
CWE-453
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-jxxv-8r27-vm4p
- https://www.vulncheck.com/advisories/vm2-before-3.11.7-sandbox-escape-via-cli-require
ADP enrichment
No English description supplied.