Bug 1441629 (CVE-2017-7613)

Summary: CVE-2017-7613 elfutils: elflint.c does not validate the number of sections and segments
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:29:09 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:24:31 UTC
elflint.c in elfutils does not validate the number of sections and the number of segments, 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=21312

Upstream patch:

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

References:

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

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

Affects: fedora-all [bug 1441630]