Bug 1590994 (CVE-2018-12265)

Summary: CVE-2018-12265 exiv2: integer overflow in the LoaderExifJpeg class in preview.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
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:19:03 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: 1590997, 1590998, 1591684    
Bug Blocks: 1591000    

Description Laura Pardo 2018-06-13 21:20:56 UTC
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.


References:
https://github.com/Exiv2/exiv2/issues/365
https://github.com/TeamSeri0us/pocs/blob/master/exiv2/1-out-of-read-Poc 

Patch:
https://github.com/Exiv2/exiv2/commit/341de4500ab993103c215bfb07d43d4a08654ac4

Comment 1 Laura Pardo 2018-06-13 21:21:34 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1590998]

Comment 5 errata-xmlrpc 2019-08-06 12:14:42 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 6 Product Security DevOps Team 2019-08-06 19:19:03 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-12265