Vulnerability in Patriksimek Vm2
CVE-2023-32314
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.081, 94.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Patriksimek Vm2 — versions < 3.9.18
- Vm2 Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- AdarkSt/Honeypot_Smart_Infrastructure (1 star, last pushed 2024-04-02): This Repository Includes Kubernetes manifest files for configuration of Honeypot system and Falco IDS in K8s environment. There are also Demo Application written with Node.js which is containing Remo…
Also mentioned in 8 other repositories (Claret-cyber/Container-Security-Report, giovanni-iannaccone/vm2_3.9.17, iamejdev/container-vulnerability-analysis-lab, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5 (Vendor Advisory)
- https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf (Patch)
- https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac (Exploit, Third Party Advisory)
- https://github.com/patriksimek/vm2/releases/tag/3.9.18 (Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.