Bug 1545237 (CVE-2017-17724)

Summary: CVE-2017-17724 exiv2: heap-buffer-overflow in Exiv2::IptcData::printStructure in src/iptc.cpp
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jgrulich, 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:
An integer underflow, leading to heap-based out-of-bound read, was found in the way Exiv2 library prints IPTC Photo Metadata embedded in an image. By persuading a victim to open a crafted image, a remote attacker could crash the application or possibly retrieve a portion of memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:18:22 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: 1545238, 1547658, 1547668, 1554414    
Bug Blocks: 1545252    

Description Laura Pardo 2018-02-14 13:03:21 UTC
A flaw was found in Exiv2 0.26. There is a integer underflow, leading to a
heap-based buffer over-read, in the Exiv2::IptcData::printStructure function in
iptc.cpp. Remote attackers can exploit this vulnerability to cause a denial of
service via a crafted TIFF file or, possibly, disclose memory data.


References:
https://bugzilla.redhat.com/show_bug.cgi?id=1524107
https://github.com/Exiv2/exiv2/issues/210

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

Affects: fedora-all [bug 1545238]

Comment 6 Riccardo Schirone 2018-02-22 09:09:18 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 printing IPTC Photo Metadata.

Comment 9 Riccardo Schirone 2018-04-23 07:32:02 UTC
*** Bug 1564284 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2019-08-06 12:14:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2101 https://access.redhat.com/errata/RHSA-2019:2101

Comment 11 Product Security DevOps Team 2019-08-06 19:18:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-17724