CVE-2023-37466CWE-94

vm2 Sandbox Escape vulnerability

Critical · published July 13, 2023

CVSS v3.1
9.8
EPSS
4%
Percentile
90.2
In the wild
Unconfirmed
What it is

🚨 A sneaky bypass in vm2 lets attackers hop right out of their sandbox! This critical vulnerability in versions up to 3.9.19 can lead to arbitrary code execution. 🔥 Imagine your little brother being stuck in a playpen, but he discovers a secret latch! That's essentially what happens when the `@@species` accessor property lets attackers escape the confines of the vm2 sandbox. It's like a child running wild in a house full of breakable things! An attacker could exploit this vulnerability to run any code they want inside the sandbox, potentially leading to a full system compromise. This could be absolutely devastating, allowing malicious actions while bypassing all that supposed protection. 🔥

Put simply

Imagine your little brother being stuck in a playpen, but he discovers a secret latch! That's essentially what happens when the `@@species` accessor property lets attackers escape the confines of the vm2 sandbox. It's like a child running wild in a house full of breakable things! In vm2, the `Promise` handler sanitization can be bypassed due to the insecure handling of the `@@species` accessor property, allowing attackers to execute arbitrary code in a supposedly safe environment.

What to do

An attacker could exploit this vulnerability to run any code they want inside the sandbox, potentially leading to a full system compromise. This could be absolutely devastating, allowing malicious actions while bypassing all that supposed protection. 🔥 Update to vm2 version 3.10.0 immediately to patch this vulnerability. If you're still using an older version, please assess the impact and consider alternatives, as maintenance has been discontinued. It's time to secure your environment! 🛡️ You've got this! By updating to the latest version, you're taking a big step towards securing your application. Let's keep the internet safe together! 🌟

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.03867 · 90.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2023-07-13T23:17Z
EPSS history
Timeline
  • 13 JUL 23:17Z
    vm2 Sandbox Escape vulnerability
    cvelistv5