vendor:
MacOS
by:
Project Zero
7,8
CVSS
HIGH
Integer Overflow
190
CWE
Product Name: MacOS
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: MacOS 10.12.3 (16D32)
2017
CAMediaTimingFunctionBuiltin Integer Overflow
CAMediaTimingFunctionBuiltin is a class in QuartzCore. Its initWithCoder: method reads an Int 'index' then passes that to builtin_function. If rax is non-null it's returned as an objective-c object pointer and the objective-c retain selector is sent to it. Serialized poc in attached file with an index of 12345678.
Mitigation:
Ensure that the index value is within the expected range.