GitHub Advisoryadvisory · npm

GHSA-2jjq-x548-rhpv isolated-vm has vulnerable CachedDataOptions in API

CRITICAL Published 2022-09-30 Modified 2023-08-24 Official page ↗
Aliases
CVE-2022-39266
Ecosystem
npm
Packages
isolated-vm
Severity
Critical
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-20, CWE-287, CWE-693
Reviewed
2022-09-30

Affected packages

• npm isolated-vm: < 4.3.7 → fixed in 4.3.7

Description

Impact If the untrusted v8 cached data is passed to the API through CachedDataOptions, the attackers can bypass the sandbox and run arbitrary code in the nodejs process. Version 4.3.7 changes the documentation to warn users that they should not accept `cachedData` payloads from a user.

Related

Alias · CVE (1)

  • CVE-2022-39266 isolated-vm is a library for nodejs which gives the user access to v8's Isolate interface. vulnerability

Weakness · CWE (3)

  • CWE-20 Improper Input Validation weakness
  • CWE-287 Improper Authentication weakness
  • CWE-693 Protection Mechanism Failure weakness

References