Various utilities from the GNU Binutils and elfutils packages are vulnerable to a heap based buffer overflow, potentially resulting in the execution of arbitrary code.
|Package||dev-libs/elfutils on all architectures|
|Affected versions||< 0.108|
|Unaffected versions||>= 0.108|
|Package||sys-devel/binutils on all architectures|
|Affected versions||< 2.16-r1|
|Unaffected versions||revision >= 22.214.171.124.8-r3
revision >= 126.96.36.199.1.1-r5
revision >= 188.8.131.52.3-r5
revision >= 184.108.40.206.2-r2
revision >= 220.127.116.11.2-r10
The GNU Binutils are a collection of tools to create, modify and analyse binary files. Many of the files use BFD, the Binary File Descriptor library, to do low-level manipulation. Elfutils provides a library and utilities to access, modify and analyse ELF objects.
Tavis Ormandy and Ned Ludd of the Gentoo Linux Security Audit Team discovered an integer overflow in the BFD library and elfutils, resulting in a heap based buffer overflow.
Successful exploitation would require a user to access a specially crafted binary file, resulting in the execution of arbitrary code.
There is no known workaround at this time.
All GNU Binutils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose sys-devel/binutils
All elfutils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-libs/elfutils-0.108"