Critical isolated-vm Flaw Could Enable Host RCE

· Original article ↗

Summary

A type-confusion flaw in isolated-vm’s ExternalCopy transfer handling could let guest JavaScript trigger a host crash or control-flow hijack, potentially enabling RCE. Versions 6.2.0 and 7.0.1 include patches.

Key points

  • The flaw affects ExternalCopy, which transfers data between V8 Isolates.
  • A transferList getter could return different values across two iterations, creating a time-of-check/time-of-use weakness and allowing an attacker-controlled pointer to be dereferenced.
  • A guest may trigger the issue through ivm.Reference; host code passing a caller-influenced transferList is also affected, according to the advisory.
  • Successful exploitation could crash the host process or hijack its control flow, potentially enabling host RCE.
  • Patches are included in isolated-vm versions 6.2.0 and 7.0.1; the article says the vulnerability has no CVE identifier.

Article Details

Vulnerability Types
  • Type confusion
  • Time-of-check/time-of-use (TOCTOU)
Severity
Critical
Exploitation Status
unknown
Exploit Availability
unknown
Patch Status
available