Bug 1216891 (CVE-2015-8915)

Summary: CVE-2015-8915 libarchive: crash via malformed cpio archive
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: carnil, ndevos, praiskup
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libarchive 3.2.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-17 04:06:30 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: 1216892, 1216893    
Bug Blocks: 1216894    

Description Martin Prpič 2015-04-29 07:10:55 UTC
An out-of-bounds read flaw was found in the way libarchive processed certain CPIO archives. An attacker could create a specially crafted CPIO archive that, when processed by an application using the libarchive library, would cause that application to crash.

Additional details:

http://seclists.org/fulldisclosure/2015/Apr/102
https://github.com/libarchive/libarchive/issues/502

Upstream patch:

https://github.com/libarchive/libarchive/commit/e6c9668f3202215ddb71617b41c19b6f05acf008

Comment 1 Martin Prpič 2015-04-29 07:11:36 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1216892]
Affects: epel-5 [bug 1216893]

Comment 2 Fedora Update System 2015-05-03 17:21:32 UTC
libarchive-3.1.2-12.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-05-22 17:59:17 UTC
libarchive-3.1.2-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Doran Moppert 2016-06-20 03:14:24 UTC
CVE assignment:

    http://seclists.org/oss-sec/2016/q2/566

Upstream bug:

    https://github.com/libarchive/libarchive/issues/503 (identified as duplicate of /issues/502)