vm2 is vulnerable to Improper Access Control
68
Medium Risk
The sandbox's dangerous-symbol filters use a fixed list that omits the registered symbols nodejs.stream.disturbed and nodejs.stream.errored. Sandboxed code extracts these real host symbols and writes them onto host objects, corrupting host-visible WebStream state. Consumed streams then appear undisturbed and error states are hidden from host checks, bypassing one-shot consumption and error handling. The fix validates symbols by namespace so all nodejs.-prefixed registered symbols are rejected.
You are affected if you are using a version that falls within the vulnerable range and your application relies on host WebStream state checks for objects reachable from the sandbox.
vm2 is vulnerable to Improper Access Control in versions 3.11.4 - 3.11.6.
Upgrade the vm2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant