Advisory

GHSA-6pw2-5hjv-9pf7

Also known as: CVE-2021-23555, SNYK-JS-VM2-2309905

Summary

Sandbox bypass in vm2

Details

The package vm2 before 3.9.6 are vulnerable to Sandbox Bypass via direct access to host error objects generated by node internals during generation of a stacktraces, which can lead to execution of arbitrary code on the host machine.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-12 00:00 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

vm2

npm · All systems

Affected

  • introduced 0, fixed 3.9.6 (semver)

Fixed versions

3.9.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences