The package vm2 before 3.9.10 are 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.
The product does not properly protect an assumed-immutable element from being modified by an attacker.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-VM2-2990237 | exploit third party advisory patch |
https://github.com/patriksimek/vm2/issues/444 | issue tracking exploit third party advisory |
https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69 | third party advisory patch |
https://github.com/patriksimek/vm2/pull/445 | third party advisory patch |