CVE-2023-29017CWE-913

vm2 Sandbox Escape vulnerability

Critical · published April 6, 2023

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.2th percentile for exploit probability.

CVSS v3.1
10.0
EPSS
63%
Percentile
99.2
In the wild
Unconfirmed
What it is

🔥 A clever bypass of sandbox protections in vm2 can let attackers execute malicious code with ease! Think of vm2 as a high-security hotel that only allows guests with proper IDs. If the reception fails to check those IDs properly, an unauthorized guest could waltz right in, access restricted areas, and cause chaos! If an attacker exploits this vulnerability, they could gain remote code execution rights, allowing them to run arbitrary code on the host system. This could lead to data breaches, ransomware, or even complete system compromise — absolutely devastating!

Put simply

Think of vm2 as a high-security hotel that only allows guests with proper IDs. If the reception fails to check those IDs properly, an unauthorized guest could waltz right in, access restricted areas, and cause chaos! This vulnerability arises from vm2 failing to properly handle host objects passed to `Error.prepareStackTrace` for unhandled async errors, effectively undermining its sandboxing mechanisms and allowing attackers to escape the confines of the sandbox.

What to do

If an attacker exploits this vulnerability, they could gain remote code execution rights, allowing them to run arbitrary code on the host system. This could lead to data breaches, ransomware, or even complete system compromise — absolutely devastating! To protect your systems, update vm2 to version 3.9.15 immediately. Regularly audit your applications for outdated dependencies and ensure proper security measures are in place. There are no known workarounds, so timely patching is crucial! You've got this! By taking action now, you'll secure your environment and reinforce your status as a security hero! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.63186 · 99.2th percentile
Weakness
CWE-913 · Improper Control of Dynamically-Managed Code Resources
Published
2023-04-06T19:18Z
EPSS history
Timeline
  • 06 APR 19:18Z
    vm2 Sandbox Escape vulnerability
    cvelistv5