Bug 1348421 (CVE-2015-8924)

Summary: CVE-2015-8924 libarchive: Heap out of bounds read in TAR parser
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anemec, ndevos, praiskup, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libarchive 3.2.0 Doc Type: Bug Fix
Doc Text:
A vulnerability was found in libarchive. A specially crafted TAR file could trigger an out-of-bounds read, potentially causing the application to disclose a small amount of application memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 04:57:56 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: 1352776, 1353065, 1353066    
Bug Blocks: 1334215    

Description Doran Moppert 2016-06-21 07:05:40 UTC
Upstream bug:
    https://github.com/libarchive/libarchive/issues/515

Upstream fix:
    https://github.com/libarchive/libarchive/commit/bb9b157

> Tar reader tries to examine last character of an empty filename

libarchive-2.8 does not appear to be vulnerable in the same way, as it rejects the invalid archive early.

Comment 2 Doran Moppert 2016-07-05 04:37:26 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1352776]

Comment 5 errata-xmlrpc 2016-09-12 20:13:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:1844 https://rhn.redhat.com/errata/RHSA-2016-1844.html