Memory corruption in elfutils - CVE-2016-10255

 

Memory corruption in elfutils - CVE-2016-10255

Published: June 8, 2018


Vulnerability identifier: #VU13241
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10255
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists in the __libelf_set_rawdata_wrlock function of elfutils due to boundary error when hhandling of sh_off and sh_size Executable and Linkable Format (ELF) header values by the __libelf_set_rawdata_wrlock function, as defined in the elf_getdata.c source code file. A remote attacker can trick the victim into opening an ELF file that submits malicious sh_off or sh_size ELF header values, trigger memory corruption and cause the application to crash.


Affected software

elfutils
Gentoo Linux
Ubuntu
elfutils (Ubuntu package)
libdw1 (Ubuntu package)
libasm1 (Ubuntu package)
libelf1 (Ubuntu package)

How to mitigate CVE-2016-10255

Update to version 0.168.

elfutils - update to 0.168
elfutils (Ubuntu package) - addressed in versions 0.158-0ubuntu5.3, 0.165-3ubuntu1.1
libdw1 (Ubuntu package) - addressed in versions 0.158-0ubuntu5.3, 0.165-3ubuntu1.1
libasm1 (Ubuntu package) - addressed in versions 0.158-0ubuntu5.3, 0.165-3ubuntu1.1
libelf1 (Ubuntu package) - addressed in versions 0.158-0ubuntu5.3, 0.165-3ubuntu1.1

External References

Related Security Bulletins