Bypassing Promise Handler Sanitization in vm2: Potential Remote Code Execution

Bypassing Promise Handler Sanitization in vm2: Potential Remote Code Execution

CVE-2023-37466 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.