CriticalGHSA-rjf2-j2r6-q8grCVE-2021-23449SNYK-JS-VM2-1585918

Prototype Pollution in vm2

Published 19 Oct 2021 · Updated 8 Jul 2026

Affected package

vm2npm
Affected
<3.9.4
Fixed in
3.9.4
Update to the fixed version for your release line, for example:npm install vm2@3.9.4

Details

This affects the package vm2 before 3.9.4. Prototype Pollution attack vector can lead to sandbox escape and execution of arbitrary code on the host machine.

Is GHSA-rjf2-j2r6-q8gr in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected vm2, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.