Heap overflow in processing patch files in FreeBSD and macOS - CVE-2014-9862
Published: July 26, 2016 / Updated: January 13, 2017
Vulnerability identifier: #VU216
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:C/VI:C/VA:C/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2014-9862
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: FreeBSD Foundation
Apple Inc.
Apple Inc.
Affected software:
FreeBSD
macOS
FreeBSD
macOS
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to boundary error in FreeBSD bsdiff. A remote unauthenticated attacker can cause a heap overflow by creating a specially crafted patch file loaded by the target user via bspatch.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
The vulnerability exists due to boundary error in FreeBSD bsdiff. A remote unauthenticated attacker can cause a heap overflow by creating a specially crafted patch file loaded by the target user via bspatch.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
How to mitigate CVE-2014-9862
Solution for this vulnerability can be found at:
https://www.freebsd.org/security/advisories/FreeBSD-SA-16:25.bspatch.asc
https://support.apple.com/cs-cz/HT206903
https://www.freebsd.org/security/advisories/FreeBSD-SA-16:25.bspatch.asc
https://support.apple.com/cs-cz/HT206903