VRIG: V8 N-Day Analysis CVE-2023-4068
CVE-2023-4068 WASM Null vs JS Null Type Confusion () Bug Type V8 introduced a WASM null type for WebAssembly references while still keeping the JS null-value object. Some engine paths mistakenly treat the JS null-value as a WASM null. This type confusion allows reading or writing beyond the allocated JS null object. Commit 455d38ff8df7303474e8ead05cad659aac0a1bbc Bug Location From src/wasm/constant-expression-interface.cc: WasmValue DefaultValueForType(ValueType type, Isolate* isolate) { switch (type.kind()) { case kI32: case kI8: case kI16: return WasmValue(0); case kI64: return WasmValue(int64_t{0}); case kF32: return WasmValue(0....