vm2@3.11.2

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.

  • latest version

    3.11.5

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    5 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the vm2 package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Arbitrary Code Injection

    vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.

    Affected versions of this package are vulnerable to Arbitrary Code Injection through the yield* iterator inside an async generator. An attacker can execute arbitrary commands on the host system by escaping the sandbox environment.

    How to fix Arbitrary Code Injection?

    Upgrade vm2 to version 3.11.3 or higher.

    <3.11.3