{"api_version":"1","generated_at":"2026-05-12T18:11:29+00:00","cve":"CVE-2023-32314","urls":{"html":"https://cve.report/CVE-2023-32314","api":"https://cve.report/api/cve/CVE-2023-32314.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-32314","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314"},"summary":{"title":"CVE-2023-32314","description":"vm2 is a sandbox that can run untrusted code with Node's built-in modules. A sandbox escape vulnerability exists in vm2 for versions up to and including 3.9.17. It abuses an unexpected creation of a host object based on the specification of `Proxy`. As a result 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.18` of `vm2`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-05-15 20:15:00","updated_at":"2023-05-24 20:50:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5","refsource":"MISC","tags":[],"title":"Sandbox Escape · Advisory · patriksimek/vm2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac","name":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac","refsource":"MISC","tags":[],"title":"Sandbox Escape in vm2@3.9.17 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf","name":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf","refsource":"MISC","tags":[],"title":"Ensure host array does not leak through proxy · patriksimek/vm2@d88105f · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.18","name":"https://github.com/patriksimek/vm2/releases/tag/3.9.18","refsource":"MISC","tags":[],"title":"Release 3.9.18 · patriksimek/vm2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-32314","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"32314","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-32314","qid":"378611","title":"vm2 NPM Package Remote Code Execution (RCE) Vulnerability (GHSA-whpj-8f3w-67p5)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-32314","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"vm2 is a sandbox that can run untrusted code with Node's built-in modules. A sandbox escape vulnerability exists in vm2 for versions up to and including 3.9.17. It abuses an unexpected creation of a host object based on the specification of `Proxy`. As a result 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.18` of `vm2`. Users are advised to upgrade. There are no known workarounds for this vulnerability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","cweId":"CWE-74"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"patriksimek","product":{"product_data":[{"product_name":"vm2","version":{"version_data":[{"version_affected":"=","version_value":"< 3.9.18"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5","refsource":"MISC","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5"},{"url":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf","refsource":"MISC","name":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf"},{"url":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac","refsource":"MISC","name":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac"},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.9.18","refsource":"MISC","name":"https://github.com/patriksimek/vm2/releases/tag/3.9.18"}]},"source":{"advisory":"GHSA-whpj-8f3w-67p5","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-05-15 20:15:00","lastModifiedDate":"2023-05-24 20:50:00","problem_types":["NVD-CWE-noinfo"],"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.18","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}