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-2019-10801 Vulnerability in npm package enpeem
CVE-2021-41269 Vulnerability in maven package com.cronutils:cron-utils
CVE-2023-33939 Vulnerability in maven package com.liferay:com.liferay.portal.search.web
CVE-2021-23327 Vulnerability in maven package org.webjars.npm:apexcharts
CVE-2023-29214 Vulnerability in maven package org.xwiki.platform:xwiki-platform-panels-ui