Description (CNA)
vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| patriksimek / vm2 | affected 0 before 3.11.7; unaffected 3.11.7 |
CWE
CWE-913
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv
- https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external
ADP enrichment
No English description supplied.
No references supplied.