CRITICAL 9.8 npm

vm2 vulnerable to Arbitrary Code Execution

GHSA-4w2j-2rg4-5mjw · CVE-2022-25893

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

The package vm2 before 3.9.10 is vulnerable to Arbitrary Code Execution due to the usage of prototype lookup for the WeakMap.prototype.set method. Exploiting this vulnerability leads to access to a host object and a sandbox compromise.

Ready to move

Start Securing

Free, no credit card | First findings in minutes