· 2 min read
V8 sandbox escape via TurboFan formal-count mismatch
TurboFan is able to create a single direct JavaScript call from two inconsistent snapshots of the callee signature. During optimization, an attacker can temporarily change the in-cage SharedFunctionInfo::formal_parameter_count from 2 to 4. Afterwards, …