GHSA-2jjq-x548-rhpv
isolated-vm has vulnerable CachedDataOptions in API
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | isolated-vm | < 4.3.7 | 4.3.7 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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.
References
External links from the advisory. They lead to third-party sites.
- 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
- https://github.com/laverdet/isolated-vm/commits/v4.3.7