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: 2.1 [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]
CVE-ID: CVE-2014-9862
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
FreeBSD
macOS
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
Ubuntu
ostree
bsdiff (Ubuntu package)
typelib-1_0-OSTree-1_0
libostree-devel
libostree-debugsource
libostree-debuginfo
libostree
libostree-1-1-debuginfo
libostree-1-1
libostree-grub2
macOS
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
Ubuntu
ostree
bsdiff (Ubuntu package)
typelib-1_0-OSTree-1_0
libostree-devel
libostree-debugsource
libostree-debuginfo
libostree
libostree-1-1-debuginfo
libostree-1-1
libostree-grub2
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
ostree - update to 2022.1
bsdiff (Ubuntu package) - update to 4.3-15+deb8u1build0.16.04.1
typelib-1_0-OSTree-1_0 - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-devel - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-debugsource - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-debuginfo - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-1-1-debuginfo - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-1-1 - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-grub2 - addressed in versions 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
bsdiff (Ubuntu package) - update to 4.3-15+deb8u1build0.16.04.1
typelib-1_0-OSTree-1_0 - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-devel - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-debugsource - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-debuginfo - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-1-1-debuginfo - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-1-1 - addressed in versions 2018.1-150000.4.3.1, 2018.9-150100.7.4.1, 2020.8-150200.3.6.1, 2021.6-150400.3.3.1
libostree-grub2 - addressed in versions 2020.8-150200.3.6.1, 2021.6-150400.3.3.1