Story

In the news · 1 source · first seen 8d ago · r/netsec
vm2's own repo lists its next sandbox escapes: a deferred nesting fix, a "monitoring" entry in ATTACKS.md, and species shims for Promise and Array but not typed arrays

Author here. I had written up six vm2 CVEs one at a time, then read all six in a row. Read that way they stop looking like separate bugs. Short version: vm2's bridge is a hand-written wrap list, so it is always one language feature behind. Every fix is one of three moves: add an entry, delete the fe

Briefing

Written from the coverage below · deepseek-v4.1-flash

An analysis of six vm2 CVEs argues they stem from the same design flaw: the sandbox's hand-written bridge of wrapped built-ins is always one language feature behind, so each fix only patches a specific gap. The author notes the repository's own open items and ATTACKS.md track unresolved escapes like typed-array shims.

Why it mattersvm2 is widely embedded for running untrusted JavaScript; if the bridge design itself is unsound, trusting new point fixes and version bumps is risky.

ActionReview any use of vm2; treat the sandbox as non-security-isolating and migrate to isolated processes, subprocess, or another maintained runtime.

Coverage

1 article