{"id":"CVE-2023-32314","aliases":["GHSA-whpj-8f3w-67p5"],"summary":"Sandbox Escape","published_at":"2023-05-15T00:00:00Z","modified_at":"2026-09-10T03:50:08.326021Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Critical","vendor_ratings":[{"source":"Red Hat","rating":"Critical"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0812700018286705,"percentile":0.9495400190353394,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"patriksimek/vm2","versions":["< 3.9.18"],"provider":"cvelistv5","source":"CVE-2023-32314","relation":"self"},{"ecosystem":"NVD","package":"vm2_project:vm2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.18"}]}],"fixed":["3.9.18"],"provider":"nvd","source":"CVE-2023-32314","relation":"self"},{"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.18"}]}],"fixed":["3.9.18"],"provider":"osv","source":"GHSA-whpj-8f3w-67p5","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-32314"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1217","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1217","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-05-15T22:00:00Z","modified_at":"2023-06-04T22:00:00Z","summary":"vm2: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in vm2 ausnutzen, um beliebigen Programmcode auszuführen und um Dateien zu manipulieren.\n\nvm2 ist eine Sandbox, in der nicht vertrauenswürdiger Code der in Node integrierten Module ausgeführt werden kann.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2023-1217"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1217.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1217"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3356"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3353"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3326"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3325"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3297"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3296"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-p5gc-c584-jj6v"}]},{"provider":"cvelistv5","source_id":"CVE-2023-32314","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-32314","license":"CC-BY-4.0","published_at":"2023-05-15T19:46:32.834Z","modified_at":"2025-01-22T21:42:31.793Z","summary":"Sandbox Escape","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2023-32314"}],"affected":[{"ecosystem":"CVE","package":"patriksimek/vm2","versions":["< 3.9.18"],"provider":"cvelistv5","source":"CVE-2023-32314","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf"},{"type":"WEB","url":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/releases/tag/3.9.18"}]},{"provider":"nvd","source_id":"CVE-2023-32314","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314","severity":[],"affected":[{"ecosystem":"NVD","package":"vm2_project:vm2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.18"}]}],"fixed":["3.9.18"],"provider":"nvd","source":"CVE-2023-32314","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-whpj-8f3w-67p5","relation":"self","url":"https://osv.dev/vulnerability/GHSA-whpj-8f3w-67p5","license":"CC-BY-4.0","published_at":"2023-05-15T20:50:51Z","modified_at":"2026-09-10T03:50:08.326021Z","summary":"vm2 Sandbox Escape vulnerability","details":"A sandbox escape vulnerability exists in vm2 for versions up to 3.9.17. It abuses an unexpected creation of a host object based on the specification of `Proxy`.\n\n### Impact\nA threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.\n\n### Patches\nThis vulnerability was patched in the release of version `3.9.18` of `vm2`.\n\n### Workarounds\nNone.\n\n### References\nPoC - https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [VM2](https://github.com/patriksimek/vm2)\n\nThanks to @arkark (Takeshi Kaneko) of GMO Cybersecurity by Ierae, Inc. for disclosing this vulnerability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-whpj-8f3w-67p5"}],"affected":[{"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.18"}]}],"fixed":["3.9.18"],"provider":"osv","source":"GHSA-whpj-8f3w-67p5","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf"},{"type":"WEB","url":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/releases/tag/3.9.18"}]},{"provider":"redhat-vex","source_id":"CVE-2023-32314","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-32314","license":"CC-BY-4.0","published_at":"2023-05-15T00:00:00Z","modified_at":"2026-02-02T07:28:10.578778Z","summary":"vm2: Sandbox Escape","details":"A flaw was found in the vm2 sandbox. When a host object is created based on the specification of Proxy, an attacker can bypass the sandbox protections. This may allow an attacker to run remote code execution on the host running the sandbox. This vulnerability impacts the confidentiality, integrity, and availability of the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2023-32314"},{"type":"Red Hat","score":"Critical","source":"CVE-2023-32314"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-32314"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-32314.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-32314"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2208376"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-32314"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5"}]}],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf"},{"type":"WEB","url":"https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/releases/tag/3.9.18"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-32314.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-32314"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2208376"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-32314"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1217","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1217","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-06-04T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-32314","url":"https://www.cve.org/CVERecord?id=CVE-2023-32314","license":"CC-BY-4.0","modified_at":"2025-01-22T21:42:31.793Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-32314","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32314","relation":"self"},{"provider":"osv","source_id":"GHSA-whpj-8f3w-67p5","url":"https://osv.dev/vulnerability/GHSA-whpj-8f3w-67p5","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:08.326021Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-32314","url":"https://access.redhat.com/security/cve/CVE-2023-32314","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:10.578778Z","relation":"self"}]}
