laverdet/isolated-vm · Security
isolated-vm has vulnerable CachedDataOptions in API
- GHSA ID
- GHSA-2jjq-x548-rhpv
- CVE ID
- CVE-2022-39266
- Severity
- critical
- Published
- Updated
- CVSS
- 9.6 · CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS v3
- 9.6 · CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
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.
CWEs
- CWE-20 · Improper Input Validation
- CWE-287 · Improper Authentication
- CWE-693 · Protection Mechanism Failure
References
- https://github.com/laverdet/isolated-vm/security/advisories/GHSA-2jjq-x548-rhpv ↗
- https://nvd.nist.gov/vuln/detail/CVE-2022-39266 ↗
- https://github.com/laverdet/isolated-vm/issues/379 ↗
- https://github.com/laverdet/isolated-vm/commit/218e87a6d4e8cb818bea76d1ab30cd0be51920e8 ↗
- https://github.com/laverdet/isolated-vm/commits/v4.3.7 ↗
- https://github.com/advisories/GHSA-2jjq-x548-rhpv ↗