Bug 1348771 (CVE-2015-8929)

Summary: CVE-2015-8929 libarchive: Memory leak in TAR parser
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anemec, 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:
A vulnerability was found in libarchive. A specially crafted TAR file could cause the application to leak small amounts of memory, eventually leading to denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-22 03:30:12 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:    
Bug Blocks: 1334215    

Description Doran Moppert 2016-06-22 03:28:00 UTC
A memory leak was discovered in libarchive in the TAR format parser.
Cleanup code in the TAR parser was attached at the wrong point, allowing
a small amount of memory to be leaked for each TAR file processed.

The vulnerable code was never in a released version; it was introduced
and fixed between v3.1.2 and v3.2.0.

Upstream bug:
    https://github.com/libarchive/libarchive/issues/517

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