Bug 1300330 (CVE-2016-2050)

Summary: CVE-2016-2050 libdwarf: Out-of-bounds write in get_abbrev_array_info
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: carnil, cbuissar, dkholia, fche, orion
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-01 15:52:15 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: 1300332, 1300333    
Bug Blocks: 1299970    

Description Adam Mariš 2016-01-20 13:40:39 UTC
An out-of-bounds write vulnerability was found in libdwarf-20151114 in get_abbrev_array_info function.

CVE request (contains reproducer and valgrind report):

http://seclists.org/oss-sec/2016/q1/141

Comment 1 Adam Mariš 2016-01-20 13:41:22 UTC
Created libdwarf tracking bugs for this issue:

Affects: fedora-all [bug 1300332]
Affects: epel-all [bug 1300333]

Comment 3 Cedric Buissart 2016-04-01 15:48:55 UTC
This bug appears to have been introduced by the following upstream commit from  Wed Dec 31 16:45:14 2014 -0800 :
https://github.com/tomhughes/libdwarf/commit/3ff5a4a024924

and is resolved by the following commit :
https://github.com/tomhughes/libdwarf/commit/a05f5e2ae6a5f

Red Hat Enterprise Linux v.7 is shipped with an earlier version and is not impacted.

Comment 4 Cedric Buissart 2016-04-01 15:49:35 UTC
Statement:

This issue did not affect the versions of libdwarf as shipped
with Red Hat Enterprise Linux 7.

Comment 5 Cedric Buissart 2016-04-01 15:51:38 UTC
External BTS bug for CVE-2016-2050: 
 Bug 963791 - (CVE-2016-2050) VUL-1: CVE-2016-2050: libdwarf: Out-of-bounds write in get_abbrev_array_info 
https://bugzilla.novell.com/show_bug.cgi?id=963791