elfutils: Heap-based buffer overflow — GLSA 201612-32

A heap-based buffer overflow vulnerability in elfutils might allow remote attackers to execute arbitrary code.

Affected packages

dev-libs/elfutils on all architectures
Affected versions < 0.159
Unaffected versions >= 0.159

Background

Elfutils provides a library and utilities to access, modify and analyse ELF objects.

Description

An integer overflow, in the check_section function of dwarf_begin_elf.c, in the libdw library can lead to a heap-based buffer overflow.

Impact

A remote attacker could entice a user to open a specially crafted file, possibly resulting in the execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All elfutils users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/elfutils-0.159"
 

References

Release date
December 13, 2016

Latest revision
December 13, 2016: 2

Severity
normal

Exploitable
remote

Bugzilla entries