CVE-2023-30547

published 17 Apr 2023 · updated 5 Feb 2025

Sandbox Escape in vm2

10.0CriticalCVSS 9.8EPSS 73%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 73%. No fixed version is recorded.

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside `handleException()` which can be used to escape the sandbox and run arbitrary code in host context. This vulnerability was patched in the release of version `3.9.17` of `vm2`. There are no known workarounds for this vulnerability. Users are advised to upgrade.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
patriksimek<3.9.17

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-30547 severity on Zeptric[![CVE-2023-30547](https://zeptric.io/badge/cve/CVE-2023-30547.svg)](https://zeptric.io/cve/CVE-2023-30547)