{"id":"CVE-2023-29199","state":"PUBLISHED","title":"vm2 Sandbox escape vulnerability","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`.\n","publishedAt":"2023-04-14T18:37:03.847Z","updatedAt":"2025-02-06T18:45:07.573Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["patriksimek vm2"],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.9.16","status":"affected"}]}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","https://github.com/patriksimek/vm2/issues/516","https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","https://github.com/patriksimek/vm2/releases/tag/3.9.16"],"weaknesses":["CWE-913"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/29xxx/CVE-2023-29199.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-29199","state":"PUBLISHED","datePublished":"2023-04-14T18:37:03.847Z","dateUpdated":"2025-02-06T18:45:07.573Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-04-03T13:37:18.454Z"},"containers":{"cna":{"title":"vm2 Sandbox escape vulnerability","descriptions":[{"lang":"en","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"}],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.9.16","status":"affected"}]}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/issues/516","name":"https://github.com/patriksimek/vm2/issues/516","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","name":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","name":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","name":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-913","lang":"en","description":"CWE-913: Improper Control of Dynamically-Managed Code Resources","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-04-14T18:37:03.847Z"},"source":{"advisory":"GHSA-xj72-wvfv-8985","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/patriksimek/vm2/issues/516","name":"https://github.com/patriksimek/vm2/issues/516","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","name":"https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","name":"https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","name":"https://github.com/patriksimek/vm2/releases/tag/3.9.16","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:00:15.886Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-06T18:44:31.729392Z","id":"CVE-2023-29199","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-06T18:45:07.573Z"}}]}}}