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.
References
Link | Resource |
---|---|
https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69 | Patch Third Party Advisory |
https://github.com/patriksimek/vm2/pull/445 | Patch Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-VM2-2990237 | Exploit Patch Third Party Advisory |
https://github.com/patriksimek/vm2/issues/444 | Exploit Issue Tracking Third Party Advisory |
Configurations
Information
Published : 2022-12-20 21:15
Updated : 2023-01-03 05:59
NVD link : CVE-2022-25893
Mitre link : CVE-2022-25893
JSON object : View
CWE
Products Affected
vm2_project
- vm2