Bug 1684381 (CVE-2019-9143)

Summary: CVE-2019-9143 exiv2: infinite recursion in Exiv2::Image::printTiffStructure in file image.cpp resulting in denial of service
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
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: exiv2 0.27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:32:32 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: 1684382, 1686481, 1686482    
Bug Blocks: 1683203    

Description Dhananjay Arunesh 2019-03-01 06:43:43 UTC
An issue was discovered in Exiv2 0.27. There is infinite recursion at Exiv2::Image::printTiffStructure in the file image.cpp. This can be triggered by a crafted file. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.

Reference:
https://github.com/Exiv2/exiv2/issues/711
https://research.loginsoft.com/vulnerability/uncontrolled-recursion-loop-in-exiv2imageprinttiffstructure-exiv2-0-27/

Comment 1 Dhananjay Arunesh 2019-03-01 06:43:54 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1684382]

Comment 6 errata-xmlrpc 2020-04-28 15:27:34 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

Comment 7 Product Security DevOps Team 2020-04-28 16:32:32 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-2019-9143

Comment 8 Doran Moppert 2021-02-09 08:29:39 UTC
Fixed in exiv2 0.27 release, via commit below which restricts the use of `-pR` to only debug builds.

 https://github.com/Exiv2/exiv2/commit/34e411d2