Bug 1545246 (CVE-2017-17722)

Summary: CVE-2017-17722 exiv2: reachable assertion in the readHeader function in bigtiffimage.cpp
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jgrulich, mcepl, michel, rdieter, rschiron
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A reachable assertion was found in Exiv2 while reading the header of a BigTIFF image. By persuading a victim to open a crafted BigTIFF image, a remote attacker could crash the application.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-23 09:44:43 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: 1545247, 1547608    
Bug Blocks: 1545252    

Description Laura Pardo 2018-02-14 13:17:49 UTC
A flaw was found in Exiv2 from commit 307faae8304d. When the library is
compiled in Debug mode, there is a reachable assertion in the readHeader
function in bigtiffimage.cpp, which will lead to a crash via a crafted BigTIFF
file.


References:
https://bugzilla.redhat.com/show_bug.cgi?id=1524116
https://github.com/Exiv2/exiv2/issues/228
https://github.com/Exiv2/exiv2/issues/208

Patch:
https://github.com/Exiv2/exiv2/commit/1647908e00a4df7246d76678e59587e62c690dcd

Comment 1 Laura Pardo 2018-02-14 13:18:27 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1545247]

Comment 4 Riccardo Schirone 2018-02-21 15:44:02 UTC
Statement:

This issue did not affect the versions of Exiv2 as shipped with Red Hat Enterprise Linux 6 and 7 as they did not include support for BigTIFF images.