elfutils: Heap-based buffer overflow

2016-12-13T00:00:00
ID GLSA-201612-32
Type gentoo
Reporter Gentoo Foundation
Modified 2016-12-13T00:00:00

Description

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"