Heap-based buffer overflow in Binutils - CVE-2019-9075

 

Heap-based buffer overflow in Binutils - CVE-2019-9075

Published: August 1, 2019 / Updated: January 21, 2020


Vulnerability identifier: #VU19612
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-9075
CWE-ID: CWE-122
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 a boundary error in _bfd_archive_64_bit_slurp_armap() function in archive64.c within the libbfd library, distributed in GNU Binutils. A remote attacker can trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Binutils
Gentoo Linux
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Opensuse
sys-devel/binutils
binutils-gold
cross-spu-binutils-debugsource
cross-spu-binutils-debuginfo
cross-spu-binutils
cross-ppc-binutils-debugsource
cross-ppc-binutils-debuginfo
cross-ppc-binutils
binutils-gold-debuginfo
binutils
libctf0-debuginfo
libctf0
libctf-nobfd0-debuginfo
libctf-nobfd0
binutils-devel
binutils-debugsource
binutils-debuginfo

How to mitigate CVE-2019-9075

Install update from vendor's website.

Binutils - update to 2.33.1
sys-devel/binutils - update to 2.35.2
binutils-gold - update to 2.37-9.39.1
cross-spu-binutils-debugsource - update to 2.37-9.39.1
cross-spu-binutils-debuginfo - update to 2.37-9.39.1
cross-spu-binutils - update to 2.37-9.39.1
cross-ppc-binutils-debugsource - update to 2.37-9.39.1
cross-ppc-binutils-debuginfo - update to 2.37-9.39.1
cross-ppc-binutils - update to 2.37-9.39.1
binutils-gold-debuginfo - update to 2.37-9.39.1
binutils - update to 2.37-9.39.1
libctf0-debuginfo - update to 2.37-9.39.1
libctf0 - update to 2.37-9.39.1
libctf-nobfd0-debuginfo - update to 2.37-9.39.1
libctf-nobfd0 - update to 2.37-9.39.1
binutils-devel - update to 2.37-9.39.1
binutils-debugsource - update to 2.37-9.39.1
binutils-debuginfo - update to 2.37-9.39.1

External References

Related Security Bulletins