package/elfutils: security bump to version 0.176
PATCH 1/1 package/elfutils: security bump to version 0.176
Fixes CVE-2018-18310: An invalid memory address dereference was discovered in dwfl_segment_report_module.c in libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by consider_notes.
Fixes CVE-2018-18520: An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
Fixes CVE-2018-18521: Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
--- package/elfutils/elfutils.hash | 4 ++-- package/elfutils/elfutils.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/elfutils/elfutils.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://sourceware.org/elfutils/ftp/0.174/sha512.sum -sha512 696708309c2a9a076099748809ecdc0490f4a8a842b2efc1aae0d746e7c5a8b203743f5626739eff837216b0c052696516b2821f5d3cc3f2eef86597c96d42df elfutils-0.174.tar.bz2 +# From https://sourceware.org/elfutils/ftp/0.176/sha512.sum +sha512 7f032913be363a43229ded85d495dcf7542b3c85974aaaba0d984228dc9ac1721da3dc388d3fa02325a80940161db7e9ad2c9e4521a424ad8a7d050c0902915b elfutils-0.176.tar.bz2 # Locally calculated sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING-GPLV2
package/elfutils/elfutils.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ELFUTILS_VERSION = 0.174 +ELFUTILS_VERSION = 0.176 ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2 ELFUTILS_SITE = https://sourceware.org/elfutils/ftp/$(ELFUTILS_VERSION) ELFUTILS_INSTALL_STAGING = YES
Signature · 1 line
2.20.1
PATCH 1/1 package/elfutils: security bump to version 0.176
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes CVE-2018-18310: An invalid memory address dereference was discovered in
dwfl_segment_report_module.cin libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated byconsider_notes.Fixes CVE-2018-18520: An Invalid Memory Address Dereference exists in the function
elf_endin libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files,handle_arinsize.ccloses the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
Quoted 7 lines
Fixes CVE-2018-18521: Divide-by-zero vulnerabilities in the function
arlib_add_symbols()inarlib.cin elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zerosh_entsizeis mishandled.Signed-off-by Fabrice Fontaine <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/elfutils: security bump to version 0.176
In reply to Fabrice FontaineQuoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes CVE-2018-18310: An invalid memory address dereference was discovered in
dwfl_segment_report_module.cin libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated byconsider_notes.Fixes CVE-2018-18520: An Invalid Memory Address Dereference exists in the function
elf_endin libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files,handle_arinsize.ccloses the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
Quoted 7 lines
Fixes CVE-2018-18521: Divide-by-zero vulnerabilities in the function
arlib_add_symbols()inarlib.cin elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zerosh_entsizeis mishandled.Signed-off-by Fabrice Fontaine <[email protected]>
This unfortunately fails to build on older machines:
http://autobuild.buildroot.net/results/105/1053e2b4b51bc225c4a1a29c93946101a7a53be9/
libelf_pic.a(elf32_updatefile.os): In function `__elf32_updatemmap':
elf32_updatefile.c:(.text+0xb16): undefined reference to aligned_alloc' libelf_pic.a(elf64_updatefile.os): In function __elf64_updatemmap':
elf64_updatefile.c:(.text+0xb67): undefined reference to `aligned_alloc'
collect2: error: ld returned 1 exit status
Which was added in glibc 2.16 (this specific autobuilder uses 2.13). Could you take a look at changing it to use posix_memalign() instead? Thanks!
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/elfutils: security bump to version 0.176
In reply to Fabrice FontaineQuoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes CVE-2018-18310: An invalid memory address dereference was discovered in
dwfl_segment_report_module.cin libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated byconsider_notes.Fixes CVE-2018-18520: An Invalid Memory Address Dereference exists in the function
elf_endin libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files,handle_arinsize.ccloses the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
Quoted 7 lines
Fixes CVE-2018-18521: Divide-by-zero vulnerabilities in the function
arlib_add_symbols()inarlib.cin elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zerosh_entsizeis mishandled.Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x and 2019.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard