Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-864f-rcv7-6rh4

isolated-vm is a library for running untrusted code within a secure V8 isolate. Versions up to and including 7.0.0 are affected by a type confusion vulnerability in `ivm.ExternalCopy(value, { transferList })`. The `ExternalCopy::Copy` code path iterates over the `transfer_list` array twice without maintaining consistency between the passes: the first pass validates each element as an ArrayBuffer, while the second pass performs an unchecked cast (`As<ArrayBuffer>()`) during the transfer. Because JavaScript property accessors can return a different value on each read, an attacker can pass validation with a genuine ArrayBuffer and then return a different value (such as a small integer) during the cast pass. This type confusion leads to dereferencing an attacker-controlled address, enabling controlled read/write of host memory, control-flow hijacking, and potential remote code execution in the host process. The bug is reachable from sandboxed guest code, as any guest holding an `ivm.Refere...
Back to all
CVE

GHSA-864f-rcv7-6rh4

isolated-vm is a library for running untrusted code within a secure V8 isolate. Versions up to and including 7.0.0 are affected by a type confusion vulnerability in `ivm.ExternalCopy(value, { transferList })`. The `ExternalCopy::Copy` code path iterates over the `transfer_list` array twice without maintaining consistency between the passes: the first pass validates each element as an ArrayBuffer, while the second pass performs an unchecked cast (`As<ArrayBuffer>()`) during the transfer. Because JavaScript property accessors can return a different value on each read, an attacker can pass validation with a genuine ArrayBuffer and then return a different value (such as a small integer) during the cast pass. This type confusion leads to dereferencing an attacker-controlled address, enabling controlled read/write of host memory, control-flow hijacking, and potential remote code execution in the host process. The bug is reachable from sandboxed guest code, as any guest holding an `ivm.Refere...

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
-
C
H
U
10
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

Severity

10

CVSS Score
0
10

Basic Information

Base CVSS
10
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
7.0.0,1.0.0
Fix Available
7.0.1,6.2.0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading