CVE-2022-39266

isolated-vm has vulnerable CachedDataOptions in API

State
Published
Severity
9.7 Critical
Published
Sep 29, 2022
Updated
Apr 23, 2025
Reserved
Sep 2, 2022

Read the record on cve.org

Description

isolated-vm is a library for nodejs which gives the user access to v8's Isolate interface. In versions 4.3.6 and prior, if the untrusted v8 cached data is passed to the API through CachedDataOptions, 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.

Scores

CVSSScoreVectorSource
3.19.7 CriticalCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-693 Protection Mechanism Failure
  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
isolated-vmlaverdet
  • <= 4.3.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.