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.
Lab | Machine | Link |
---|---|---|
Hack The Box | Codify | Go to Practice |
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-37903