Bug 2002678 (CVE-2020-18898)

Summary: CVE-2020-18898 exiv2: stack exhaustion issue in the printIFDStructure function may lead to DoS
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jgrulich, manisandro, michel, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: exiv2 0.27.5 Doc Type: If docs needed, set a value
Doc Text:
The exiv2 program is susceptible to a stack exhaustion issue via a crafted file. The cause of this vulnerability, is due to a flaw in the code which could allow remote attackers to cause a denial of service (DOS). The highest threat from this vulnerability is availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-11 21:15:21 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: 2002679, 2002680, 2003669, 2003670, 2003673    
Bug Blocks: 2002681    

Description Marian Rehak 2021-09-09 13:32:36 UTC
A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Upstream Issue:

https://github.com/Exiv2/exiv2/issues/741

Comment 1 Marian Rehak 2021-09-09 13:32:56 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 2002680]


Created mingw-exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 2002679]

Comment 4 devthomp 2021-09-13 13:14:48 UTC
Patch:
https://github.com/Exiv2/exiv2/pull/558

Comment 6 errata-xmlrpc 2022-05-10 13:29:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1797 https://access.redhat.com/errata/RHSA-2022:1797

Comment 7 errata-xmlrpc 2022-05-10 13:45:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1842 https://access.redhat.com/errata/RHSA-2022:1842

Comment 8 Product Security DevOps Team 2022-05-11 21:15:20 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-2020-18898