Bug 1566735 (CVE-2018-9305)

Summary: CVE-2018-9305 exiv2: out of bounds read in IptcData::printStructure in iptc.c
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 out-of-bounds read vulnerability has been discovered in IptcData::printStructure in iptc.cpp file of Exiv2 0.26. An attacker could cause a crash or an information leak by providing a crafted image.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:18: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: 1566727, 1566738, 1568979    
Bug Blocks: 1566728    

Description Laura Pardo 2018-04-12 21:35:42 UTC
In Exiv2 0.26, an out-of-bounds read in IptcData::printStructure in iptc.cpp
could result in a crash or information leak, due to use of the untrusted `len`
value without any check.


References:
https://github.com/Exiv2/exiv2/issues/263
https://github.com/xiaoqx/pocs/blob/master/exiv2/readme.md

Comment 1 Laura Pardo 2018-04-12 21:42:38 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1566727]

Comment 3 Riccardo Schirone 2018-04-18 13:03:33 UTC
Statement:

This issue did not affect the versions of Exiv2 as shipped with Red Hat Enterprise Linux 6 and 7, up to 7.4, as they did not include support for printing IPTC Photo Metadata.

Comment 7 errata-xmlrpc 2019-08-06 12:14:33 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 8 Product Security DevOps Team 2019-08-06 19:18:43 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-2018-9305

Comment 9 errata-xmlrpc 2020-04-28 15:27:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:1577 https://access.redhat.com/errata/RHSA-2020:1577