CVE-2023-30547

    Dashboard / Vulnerabilities / CVE-2023-30547

    CVE-2023-30547

    Published: 17 Apr 2023Last Modified: 12 Aug 2026

    Summary: Sandbox Escape in vm2

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    3.9.16
    3.9.15
    3.9.14
    3.9.13
    3.9.12
    3.9.11
    3.9.10
    3.9.9
    3.9.8
    3.9.7
    3.9.6
    3.9.5
    3.9.4
    3.9.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-30547 | CVE-DB