Bug 1347085 (CVE-2016-6250)

Summary: CVE-2016-6250 libarchive: Buffer overflow when writing large iso9660 containers
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, sardella, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libarchive 3.2.1 Doc Type: Bug Fix
Doc Text:
A vulnerability was found in libarchive. An attempt to create an ISO9660 volume with 2GB or 4GB filenames could cause the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 04:56:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1352776, 1353065, 1353066    
Bug Blocks: 1334215    

Description Doran Moppert 2016-06-16 02:30:03 UTC
The ISO9660 writer is subject to integer overflows when verifying the
filename size. This can lead to a crash when writing ISO9660 images with
2GB or 4GB filenames.

External references:
    https://github.com/libarchive/libarchive/files/295073/libarchiveOverflow.txt    https://github.com/libarchive/libarchive/issues/711

Upstream fix:
    https://github.com/libarchive/libarchive/commit/3014e198

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

Affects: fedora-all [bug 1352776]

Comment 6 Adam Mariš 2016-07-21 13:37:45 UTC
*** Bug 1358366 has been marked as a duplicate of this bug. ***

Comment 7 Adam Mariš 2016-07-21 13:40:37 UTC
CVE request:

http://seclists.org/oss-sec/2016/q3/114

Comment 8 errata-xmlrpc 2016-09-12 20:13:07 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