{"api_version":"1","generated_at":"2026-07-23T20:19:01+00:00","cve":"CVE-2023-29199","urls":{"html":"https://cve.report/CVE-2023-29199","api":"https://cve.report/api/cve/CVE-2023-29199.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-29199","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-29199"},"summary":{"title":"CVE-2023-29199","description":"There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version `3.9.16` of `vm2`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-04-14 19:15:00","updated_at":"2023-04-25 15:14:00"},"problem_types":["CWE-913"],"metrics":[],"references":[{"url":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","name":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","refsource":"MISC","tags":[],"title":"Release 3.9.16 · patriksimek/vm2@24c724d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","name":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","refsource":"MISC","tags":[],"title":"Release 3.9.16 · patriksimek/vm2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/patriksimek/vm2/issues/516","name":"https://github.com/patriksimek/vm2/issues/516","refsource":"MISC","tags":[],"title":"Sandbox Escape in vm2@3.9.15 · Issue #516 · patriksimek/vm2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","refsource":"MISC","tags":[],"title":"Sandbox Escape · Advisory · patriksimek/vm2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","name":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","refsource":"MISC","tags":[],"title":"Sandbox Escape in vm2@3.9.15 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-29199","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29199","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"29199","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vm2_project","cpe5":"vm2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-29199","qid":"378431","title":"vm2 NPM Package Remote Code Execution (RCE) Vulnerability (GHSA-xj72-wvfv-8985)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-29199","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version `3.9.16` of `vm2`.\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-913: Improper Control of Dynamically-Managed Code Resources","cweId":"CWE-913"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"patriksimek","product":{"product_data":[{"product_name":"vm2","version":{"version_data":[{"version_affected":"=","version_value":"< 3.9.16"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","refsource":"MISC","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985"},{"url":"https://github.com/patriksimek/vm2/issues/516","refsource":"MISC","name":"https://github.com/patriksimek/vm2/issues/516"},{"url":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","refsource":"MISC","name":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7"},{"url":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","refsource":"MISC","name":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c"},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","refsource":"MISC","name":"https://github.com/patriksimek/vm2/releases/tag/3.9.16"}]},"source":{"advisory":"GHSA-xj72-wvfv-8985","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-04-14 19:15:00","lastModifiedDate":"2023-04-25 15:14:00","problem_types":["CWE-913"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.9.16","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}