vendor:
Chromium
by:
Project Zero
7,5
CVSS
HIGH
Integer Overflow
190
CWE
Product Name: Chromium
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2018
Integer Overflow in Lowerer::LowerBoundCheck
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. The PoC provided shows that an array of size 0x1000 is created and a loop is used to increment the index of the array until 0x7fffffff. This causes an integer overflow and the loop continues to increment the index beyond the array size.
Mitigation:
Ensure that integer overflow checks are performed correctly and that the size of IntConstType is appropriate for the data type.