Heap-based buffer overflow in macOS - CVE-2017-2523
Published: May 25, 2017 / Updated: September 14, 2018
Vulnerability identifier: #VU6715
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2017-2523
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vendor: Apple Inc.
Affected software:
macOS
macOS
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists due to lack of bounds checking in [NSBuiltinCharacterSet initWithCoder:] when processing malicious data. A remote attacker can send a specially crafted graphic file, trick the victim into opening it, trigger heap-based buffer overflow in NSUnarchiver and execute arbitrary code with privileges of the current user.
Successful exploitation of the vulnerability may result in full system compromise.
The weakness exists due to lack of bounds checking in [NSBuiltinCharacterSet initWithCoder:] when processing malicious data. A remote attacker can send a specially crafted graphic file, trick the victim into opening it, trigger heap-based buffer overflow in NSUnarchiver and execute arbitrary code with privileges of the current user.
Successful exploitation of the vulnerability may result in full system compromise.
How to mitigate CVE-2017-2523
Update to version 10.12.5.