Buffer overflow in macOS - CVE-2017-2522
Published: May 25, 2017 / Updated: September 14, 2018
Vulnerability identifier: #VU6716
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-2522
CWE-ID: CWE-120
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 bad bounds checking in NSCharacterSet coding for NSKeyedUnarchiver when processing malicious data. A remote attacker can send a specially crafted NSArchiver object, trick the victim into opening it, trigger buffer overflow in the CoreFoundation component 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 bad bounds checking in NSCharacterSet coding for NSKeyedUnarchiver when processing malicious data. A remote attacker can send a specially crafted NSArchiver object, trick the victim into opening it, trigger buffer overflow in the CoreFoundation component 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-2522
Update to version 10.12.5.