GitHub Advisoryadvisory · npm

GHSA-4w2j-2rg4-5mjw vm2 vulnerable to Arbitrary Code Execution

CRITICAL Published 2022-12-21 Modified 2022-12-22 Official page ↗
Aliases
CVE-2022-25893
Ecosystem
npm
Packages
vm2
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2022-12-22

Affected packages

• npm vm2: < 3.9.10 → fixed in 3.9.10

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.

Related

Alias · CVE (1)

  • CVE-2022-25893 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… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References