Bug 1441625 (CVE-2017-7609)

Summary: CVE-2017-7609 elfutils: Memory allocation failure in elf_compress.c
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aoliva, drepper, fche, jakub, kanderso, mcermak, me, mjw, mjw, mnewsome, ohudlick, roland
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-12 11:28:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1441630    
Bug Blocks:    

Description Andrej Nemec 2017-04-12 11:18:04 UTC
elf_compress.c in elfutils does not validate the zlib compression factor, which allows attackers to cause a denial of service (memory consumption) via a crafted ELF file.

Upstream bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=21301

Upstream patch:

https://sourceware.org/ml/elfutils-devel/2017-q1/msg00114.html

References:

https://blogs.gentoo.org/ago/2017/04/03/elfutils-memory-allocation-failure-in-__libelf_decompress-elf_compress-c/

Comment 1 Andrej Nemec 2017-04-12 11:26:22 UTC
Created elfutils tracking bugs for this issue:

Affects: fedora-all [bug 1441630]