{"id":"CVE-2023-37903","aliases":["GHSA-g644-9gfx-q4q4","WID-SEC-W-2023-1863"],"summary":"Sandbox Escape in vm2","published_at":"2023-07-13T17:01:58Z","modified_at":"2026-07-08T08:14:39.876965Z","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":"Moderate","vendor_ratings":[{"source":"BSI","rating":"kritisch"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.042149998247623444,"percentile":0.911899983882904,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"patriksimek/vm2","versions":["<= 3.9.19"],"provider":"cvelistv5","source":"CVE-2023-37903","relation":"self"},{"ecosystem":"NVD","package":"vm2_project:vm2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.9.19"}]}],"provider":"nvd","source":"CVE-2023-37903","relation":"self"},{"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.9.19"}]}],"provider":"osv","source":"GHSA-g644-9gfx-q4q4","relation":"self"}],"product_status":[{"vendor":"BSI","product":"Open Source vm2 <= 3.9.19","cpe":"cpe:/a:vm2_project:vm2:3.9.19","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"vendor":"BSI","product":"Red Hat Enterprise Linux","cpe":"cpe:/o:redhat:enterprise_linux:-","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"vendor":"BSI","product":"Red Hat Enterprise Linux Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/o:redhat:enterprise_linux:advanced_cluster_management_for_kubernetes_2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"vendor":"BSI","product":"Red Hat Enterprise Linux Multicluster Engine for Kubernetes","cpe":"cpe:/o:redhat:enterprise_linux:multicluster_engine_for_kubernetes","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"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-37903"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2023-37903","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-37903","license":"CC-BY-4.0","published_at":"2023-07-21T19:42:09.346Z","modified_at":"2025-11-03T21:48:55.029Z","summary":"Sandbox Escape in vm2","details":"vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.","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-37903"}],"affected":[{"ecosystem":"CVE","package":"patriksimek/vm2","versions":["<= 3.9.19"],"provider":"cvelistv5","source":"CVE-2023-37903","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230831-0007/"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1863","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1863","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-07-23T22:00:00Z","modified_at":"2023-09-05T22:00:00Z","summary":"vm2: Schwachstelle ermöglicht Codeausführung","details":"Ein entfernter, anonymer Angreifer kann eine Schwachstelle in vm2 ausnutzen, um beliebigen Programmcode 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":"kritisch","source":"WID-SEC-W-2023-1863"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Open Source vm2 <= 3.9.19","cpe":"cpe:/a:vm2_project:vm2:3.9.19","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"vendor":"BSI","product":"Red Hat Enterprise Linux","cpe":"cpe:/o:redhat:enterprise_linux:-","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"vendor":"BSI","product":"Red Hat Enterprise Linux Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/o:redhat:enterprise_linux:advanced_cluster_management_for_kubernetes_2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"},{"vendor":"BSI","product":"Red Hat Enterprise Linux Multicluster Engine for Kubernetes","cpe":"cpe:/o:redhat:enterprise_linux:multicluster_engine_for_kubernetes","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-1863"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1863.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1863"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4972"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4980"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4862"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4654"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4650"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4"}]},{"provider":"nvd","source_id":"CVE-2023-37903","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37903","severity":[],"affected":[{"ecosystem":"NVD","package":"vm2_project:vm2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.9.19"}]}],"provider":"nvd","source":"CVE-2023-37903","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-g644-9gfx-q4q4","relation":"self","url":"https://osv.dev/vulnerability/GHSA-g644-9gfx-q4q4","license":"CC-BY-4.0","published_at":"2023-07-13T17:01:58Z","modified_at":"2026-07-08T08:14:39.876965Z","summary":"vm2 Sandbox Escape vulnerability","details":"In vm2 for versions up to 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code.\n\n### Impact\nRemote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox.\n\n### Patches\nNone.\n\n### Workarounds\nNone.\n\n### References\nPoC is to be disclosed on or after the 5th of September.\n\n### Similarity with [CVE-2023-37466](https://nvd.nist.gov/vuln/detail/CVE-2023-37466)\nWhile this advisory might look similar to [CVE-2023-37466](https://nvd.nist.gov/vuln/detail/CVE-2023-37466), it is a completely different way of escaping the sandbox.\n\n### For more information\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 [Xion](https://twitter.com/0x10n) (SeungHyun Lee) of [KAIST Hacking Lab](https://kaist-hacking.github.io/) 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-g644-9gfx-q4q4"}],"affected":[{"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.9.19"}]}],"provider":"osv","source":"GHSA-g644-9gfx-q4q4","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37903"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230831-0007"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241108-0002"}]},{"provider":"redhat-vex","source_id":"CVE-2023-37903","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-37903","license":"CC-BY-4.0","published_at":"2023-07-21T00:00:00Z","modified_at":"2025-11-03T22:23:45Z","summary":"vm2: custom inspect function allows attackers to escape the sandbox and run arbitrary code","details":"A flaw was found in the vm2 custom inspect function, which allows attackers to escape the sandbox. This flaw allows attackers to run arbitrary code.","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-37903"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-37903"}],"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-37903"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-37903.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-37903"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2224969"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-37903"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37903"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4"}]}],"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230831-0007/"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1863.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1863"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4972"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4980"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4862"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4654"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4650"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37903"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230831-0007"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241108-0002"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-37903.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-37903"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2224969"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-37903"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2023-37903","url":"https://www.cve.org/CVERecord?id=CVE-2023-37903","license":"CC-BY-4.0","modified_at":"2025-11-03T21:48:55.029Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1863","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1863","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-09-05T22:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-37903","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37903","relation":"self"},{"provider":"osv","source_id":"GHSA-g644-9gfx-q4q4","url":"https://osv.dev/vulnerability/GHSA-g644-9gfx-q4q4","license":"CC-BY-4.0","modified_at":"2026-07-08T08:14:39.876965Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-37903","url":"https://access.redhat.com/security/cve/CVE-2023-37903","license":"CC-BY-4.0","modified_at":"2025-11-03T22:23:45Z","relation":"self"}]}
