CVE-2022-39266
JSON

9.7critical

isolated-vm has vulnerable CachedDataOptions in API

Severity
9.7critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.33% (higher than 71% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2jjq-x548-rhpv

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.

Affected

Product or packageVersionsReported by
laverdet isolated-vm<= 4.3.6CVE List
isolated-vm (npm)before 4.3.7GitHub Advisory Database
isolated-vm_project isolated-vmup to 4.3.6NVD

All scores

GitHub_M9.7critical CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub9.6critical CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-287CWE-693

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

isolated-vm es una biblioteca para nodejs que da acceso a la interfaz Isolate de v8. En versiones 4.3.6 y anteriores, si los datos en caché de v8 que no son confiables son pasados a la API mediante CachedDataOptions, los atacantes pueden omitir el sandbox y ejecutar código arbitrario en el proceso de nodejs. En el momento de la publicación, no son conocidas versiones corregidas ni mitigaciones

References

Sources

SourceRecordLicence
CVE ListCVE-2022-39266 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-2jjq-x548-rhpv changed 2023-11-08CC-BY-4.0
NVDCVE-2022-39266 changed 2026-06-17Public domain