The __libelf_set_rawdata_wrlock function in elf_getdata.c in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted (1) sh_off or (2) sh_size ELF header value, which triggers a memory allocation failure.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://usn.ubuntu.com/3670-1/ | vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1387584 | issue tracking third party advisory |
https://security.gentoo.org/glsa/201710-10 | vendor advisory |
http://www.openwall.com/lists/oss-security/2017/03/22/1 | third party advisory mailing list |
https://lists.fedorahosted.org/archives/list/elfutils-devel%40lists.fedorahosted.org/thread/Q4LE47FPEVRZANMV6JE2NMHYO4H5MHGJ/ | mailing list |
https://blogs.gentoo.org/ago/2016/11/04/elfutils-memory-allocation-failure-in-__libelf_set_rawdata_wrlock-elf_getdata-c/ | third party advisory |