{"id":"CVE-2022-36067","aliases":["GHSA-mrgp-mrhc-5jrq"],"summary":"vm2 vulnerable to Sandbox Escape before v3.9.11","published_at":"2022-09-06T00:00:00Z","modified_at":"2025-04-22T17:24:29.553Z","products":[],"rating":{"severity":"critical","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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.4786800146102905,"percentile":0.9887800216674805,"date":"2026-11-19T00:00:00Z"},"priority":12.75,"details":"vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, 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.11 of vm2. There are no known workarounds.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"patriksimek/vm2","versions":["< 3.9.11"],"provider":"cvelistv5","source":"CVE-2022-36067","relation":"self"},{"ecosystem":"NVD","package":"vm2_project:vm2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.11"}]}],"fixed":["3.9.11"],"provider":"nvd","source":"CVE-2022-36067","relation":"self"},{"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.11"}]}],"fixed":["3.9.11"],"provider":"osv","source":"GHSA-mrgp-mrhc-5jrq","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-2022-36067"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1004","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1004","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-04-18T22:00:00Z","modified_at":"2023-04-19T22:00:00Z","summary":"vm2: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in vm2 ausnutzen, um aus der Sandbox auszubrechen und beliebigen Code im Host-Kontext auszuführen.\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-1004"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1004.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1004"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:1897"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:1896"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:1894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:1887"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:1888"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:1893"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985"}]},{"provider":"cvelistv5","source_id":"CVE-2022-36067","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-36067","license":"CC-BY-4.0","published_at":"2022-09-06T00:00:00Z","modified_at":"2025-04-22T17:24:29.553Z","summary":"vm2 vulnerable to Sandbox Escape before v3.9.11","details":"vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, 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.11 of vm2. There are no known workarounds.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"CVE-2022-36067"}],"affected":[{"ecosystem":"CVE","package":"patriksimek/vm2","versions":["< 3.9.11"],"provider":"cvelistv5","source":"CVE-2022-36067","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/issues/467"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71"},{"type":"WEB","url":"https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221017-0002/"}]},{"provider":"nvd","source_id":"CVE-2022-36067","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36067","severity":[],"affected":[{"ecosystem":"NVD","package":"vm2_project:vm2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.11"}]}],"fixed":["3.9.11"],"provider":"nvd","source":"CVE-2022-36067","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-mrgp-mrhc-5jrq","relation":"self","url":"https://osv.dev/vulnerability/GHSA-mrgp-mrhc-5jrq","license":"CC-BY-4.0","published_at":"2022-09-28T13:09:01Z","modified_at":"2023-11-08T04:09:59.397193Z","summary":"vm2 vulnerable to Sandbox Escape resulting in Remote Code Execution on host","details":"### 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.11` of `vm2`\n\n### Workarounds\nNone. \n\n### References\nGithub Issue - https://github.com/patriksimek/vm2/issues/467\nThe file that was patched - https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71\nThe commit with the patch - https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [VM2](https://github.com/patriksimek/vm2)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GHSA-mrgp-mrhc-5jrq"}],"affected":[{"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.11"}]}],"fixed":["3.9.11"],"provider":"osv","source":"GHSA-mrgp-mrhc-5jrq","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36067"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/issues/467"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221017-0002"},{"type":"WEB","url":"https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067"}]},{"provider":"redhat-vex","source_id":"CVE-2022-36067","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-36067","license":"CC-BY-4.0","published_at":"2022-09-07T00:00:00Z","modified_at":"2022-11-28T05:25:20Z","summary":"vm2: Sandbox Escape in vm2","details":"A flaw was found in the vm2 sandbox when running untrusted code, as the sandbox setup does not manage proper exception handling. This flaw allows an attacker to bypass the sandbox protections and gain remote code execution on the hypervisor host or the host which is running the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"CVE-2022-36067"},{"type":"Red Hat","score":"Critical","source":"CVE-2022-36067"}],"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-2022-36067"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-36067.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-36067"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2124794"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-36067"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36067"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"}]}],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/issues/467"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71"},{"type":"WEB","url":"https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221017-0002/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36067"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221017-0002"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-36067.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-36067"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2124794"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-36067"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1004","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1004","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-04-19T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2022-36067","url":"https://www.cve.org/CVERecord?id=CVE-2022-36067","license":"CC-BY-4.0","modified_at":"2025-04-22T17:24:29.553Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-36067","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36067","relation":"self"},{"provider":"osv","source_id":"GHSA-mrgp-mrhc-5jrq","url":"https://osv.dev/vulnerability/GHSA-mrgp-mrhc-5jrq","license":"CC-BY-4.0","modified_at":"2023-11-08T04:09:59.397193Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-36067","url":"https://access.redhat.com/security/cve/CVE-2022-36067","license":"CC-BY-4.0","modified_at":"2022-11-28T05:25:20Z","relation":"self"}]}
