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.
Remediation
References
https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
Related Vulnerabilities
CVE-2023-46998 Vulnerability in maven package org.webjars.bowergithub.makeusabrew:bootbox
CVE-2021-23664 Vulnerability in npm package @isomorphic-git/cors-proxy
CVE-2018-3721 Vulnerability in npm package lodash.merge
CVE-2023-27095 Vulnerability in maven package cn.hippo4j:hippo4j-core
CVE-2018-9206 Vulnerability in maven package org.webjars.bower:blueimp-file-upload