CVE-2022-25893

Arbitrary Code Execution

Published Dec 21, 2022 CVSS 3.1 · 9.8 Critical EPSS 1.5% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7507 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.
Github GHSA Github GHSA GHSA-4w2j-2rg4-5mjw vm2 vulnerable to Arbitrary Code Execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-471
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 15, 2025, 7:18 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Dec 21, 2022, 5:15 AM
Modified
Jun 17, 2026, 4:34 AM