CVE-2023-29017

Critical

Description

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could 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.15 of vm2. There are no known workarounds.

SeverityCritical
CVSS10.0
Exploit probability—
ProductVm2
PublishedApr 6, 2023
First seenApr 6, 2023
Weakness typeCWE-913CWE-913

How to fix

Update
  • vm2_project vm23.9.15 or later
  • vm23.9.15 or later

Affected products

ProductAffected versionsFixed in
vm2_project vm2v < 3.9.153.9.15
vm2npmv < 3.9.153.9.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.