Microsoft Edge: Chakra: JIT:... CVE-2017-11861 CNNVD-201711-566

7.6 AV AC AU C I A
发布: 2017-11-15
修订: 2017-11-30

Here's a snippet of the method. ``` void Lowerer::LowerBoundCheck(IR::Instr *const instr) { ... if(rightOpnd->IsIntConstOpnd()) { IntConstType newOffset; if(!IntConstMath::Add(offset, rightOpnd->AsIntConstOpnd()->GetValue(), &newOffset)) <<--- (a) { offset = newOffset; rightOpnd = nullptr; offsetOpnd = nullptr; } } ... if(!rightOpnd) { rightOpnd = IR::IntConstOpnd::New(offset, TyInt32, func); } } ``` At (a), it uses "IntConstMath::Add" to check integer overflow. But the size of IntConstType equals to the size of pointer, and the "offset" variable is used as a 32-bit integer. So it may fail to check integer overflow on 64-bit system.

0%
当前有3条漏洞利用/PoC
当前有9条受影响产品信息