#VU216 Heap overflow in processing patch files in FreeBSD and macOS


Published: 2016-07-26 | Updated: 2017-01-13

Vulnerability identifier: #VU216

Vulnerability risk: High

CVSSv3.1: 1.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:C/I:C/A:C/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-9862

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
FreeBSD
Operating systems & Components / Operating system
macOS
Operating systems & Components / Operating system

Vendor: FreeBSD Foundation
Apple Inc.

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.

Mitigation
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

Vulnerable software versions

FreeBSD: 9.3 - 10.3

macOS: 10.11 - 10.11.5


External links
http://www.freebsd.org/security/advisories/FreeBSD-SA-16:25.bspatch.asc
http://security.FreeBSD.org/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability