{ "schema_version": "1.4.0", "id": "GHSA-mrgp-mrhc-5jrq", "modified": "2022-09-28T13:09:01Z", "published": "2022-09-28T13:09:01Z", "aliases": [ "CVE-2022-36067" ], "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)\n\n \n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "vm2" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "3.9.11" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-913" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-09-28T13:09:01Z", "nvd_published_at": "2022-09-06T22:15:00Z" } }