CVE-2023-32314: Sandbox Escape
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.
Other sources
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.
Impact A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.
Patches This vulnerability was patched in the release of version 3.9.18 of vm2.
Workarounds None.
References PoC - https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac
For more information
If you have any questions or comments about this advisory:
- Open an issue in VM2
Thanks to @arkark (Takeshi Kaneko) of GMO Cybersecurity by Ierae, Inc. for disclosing this vulnerability.
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 Software
Remediation
Information
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2023-32314?
CVE-2023-32314 has been classified with a high severity due to the potential for remote code execution.
How do I fix CVE-2023-32314?
To mitigate CVE-2023-32314, upgrade vm2 to version 3.9.18 or later.
Which software versions are affected by CVE-2023-32314?
CVE-2023-32314 affects vm2 versions up to but not including 3.9.18.
What type of attack does CVE-2023-32314 allow?
CVE-2023-32314 allows attackers to bypass sandbox protections, potentially enabling remote code execution.
Who is impacted by CVE-2023-32314?
Users and applications utilizing affected versions of vm2 are at risk due to CVE-2023-32314.