CVE-2022-36067: vm2 vulnerable to Sandbox Escape before v3.9.11
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.
Other sources
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 Software
Remediation
Information
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2022-36067?
CVE-2022-36067 has been assigned a high severity rating due to the potential for remote code execution.
How do I fix CVE-2022-36067?
To mitigate CVE-2022-36067, upgrade vm2 to version 3.9.12 or later, where the vulnerability has been addressed.
Who is affected by CVE-2022-36067?
CVE-2022-36067 affects all versions of vm2 prior to 3.9.12 when running untrusted code.
What type of vulnerability is CVE-2022-36067?
CVE-2022-36067 is categorized as a sandbox bypass vulnerability, allowing execution of untrusted code on the host.
Can CVE-2022-36067 be exploited remotely?
Yes, CVE-2022-36067 can be exploited remotely, allowing an attacker to execute code on the hypervisor host.