GitHub Advisoryadvisory · npm
GHSA-2jjq-x548-rhpv isolated-vm has vulnerable CachedDataOptions in API
CRITICAL
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
References
- https://github.com/laverdet/isolated-vm/security/advisories/GHSA-2jjq-x548-rhpv web
- https://nvd.nist.gov/vuln/detail/CVE-2022-39266 advisory
- https://github.com/laverdet/isolated-vm/issues/379 web
- https://github.com/laverdet/isolated-vm/commit/218e87a6d4e8cb818bea76d1ab30cd0be51920e8 web
- https://github.com/laverdet/isolated-vm package
- https://github.com/laverdet/isolated-vm/commits/v4.3.7 web