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/issues/444 | Exploit Issue Tracking Third Party Advisory |
https://github.com/patriksimek/vm2/pull/445 | Patch Third Party Advisory |
https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69 | 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 |
https://github.com/patriksimek/vm2/pull/445 | Patch Third Party Advisory |
https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69 | Patch Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-VM2-2990237 | Exploit Patch Third Party Advisory |
Configurations
History
15 Apr 2025, 20:15
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-471 |
Information
Published : 2022-12-21 05:15
Updated : 2025-04-15 20:15
NVD link : CVE-2022-25893
Mitre link : CVE-2022-25893
CVE.ORG link : CVE-2022-25893
JSON object : View
Products Affected
vm2_project
- vm2
CWE