{"id":"CVE-2023-29017","state":"PUBLISHED","title":"vm2 Sandbox Escape vulnerability","description":"vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could 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.15 of vm2. There are no known workarounds.","publishedAt":"2023-04-06T19:18:34.243Z","updatedAt":"2025-02-10T16:10:57.765Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["patriksimek vm2"],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.9.15","status":"affected"}]}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv","https://github.com/patriksimek/vm2/issues/515","https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50","https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d"],"weaknesses":["CWE-913"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/29xxx/CVE-2023-29017.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-29017","state":"PUBLISHED","datePublished":"2023-04-06T19:18:34.243Z","dateUpdated":"2025-02-10T16:10:57.765Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-29T17:39:16.144Z"},"containers":{"cna":{"title":"vm2 Sandbox Escape vulnerability","descriptions":[{"lang":"en","value":"vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could 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.15 of vm2. There are no known workarounds."}],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.9.15","status":"affected"}]}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/issues/515","name":"https://github.com/patriksimek/vm2/issues/515","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50","name":"https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d","name":"https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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-06T19:18:34.243Z"},"source":{"advisory":"GHSA-7jxr-cg7f-gpgv","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/patriksimek/vm2/issues/515","name":"https://github.com/patriksimek/vm2/issues/515","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50","name":"https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d","name":"https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:00:14.370Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-10T16:10:48.424475Z","id":"CVE-2023-29017","options":[{"Exploitation":"poc"},{"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-10T16:10:57.765Z"}}]}}}