{"id":"CVE-2021-23449","aliases":["CVE-2021-23449","GHSA-rjf2-j2r6-q8gr","SNYK-JS-VM2-1585918"],"related":[],"kind":"vulnerability","state":"published","title":"Sandbox Bypass","summary":"This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitrary code on the host machine.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitrary code on the host machine.","source":"cvelist"},{"lang":"en","text":"This affects the package vm2 before 3.9.4. Prototype Pollution attack vector can lead to sandbox escape and execution of arbitrary code on the host machine.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta al paquete vm2 antes de la versión 3.9.4 a través de un vector de ataque de Prototipo de Contaminación, que puede llevar a la ejecución de código arbitrario en la máquina anfitriona","source":"nvd"}],"published":"2021-10-18T16:40:13.749Z","modified":"2026-07-08T06:49:31.458Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-915","CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.9.4","status":"affected"}],"product":"vm2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.9.4"}],"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.9.4"}],"vendor":"vm2_project","product":"vm2","cpe":"cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-VM2-1585918","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/patriksimek/vm2/issues/363","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/patriksimek/vm2/commit/b4f6e2bd2c4a1ef52fc4483d8e35f28bc4481886","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.4","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0010/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23449","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/patriksimek/vm2","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0010","tags":["web"],"sources":["ghsa"]}],"credits":["Cris Staicu","Abdullah Alhamdan"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23449","url":"https://www.cve.org/CVERecord?id=CVE-2021-23449","licence":"CVE Terms of Use","modified":"2024-09-17T01:46:09.662Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rjf2-j2r6-q8gr","url":"https://github.com/advisories/GHSA-rjf2-j2r6-q8gr","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:31.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23449","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23449","licence":"Public domain","modified":"2026-06-17T03:38:47.017Z"}],"updatedAt":"2026-11-25T22:58:04.536Z","epss":{"score":0.0359,"percentile":0.89727,"date":"2026-12-01T12:00:22.000Z"}}