Bug 1536904 (CVE-2018-5772) - CVE-2018-5772 exiv2: Uncontrolled recursion in image.cpp:Exiv2::Image::printIFDStructure() can allow a remote attacker to cause a denial of service via a crafted tif file
Summary: CVE-2018-5772 exiv2: Uncontrolled recursion in image.cpp:Exiv2::Image::printI...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-5772
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1536905 1548336 1548410
Blocks: 1536906
TreeView+ depends on / blocked
 
Reported: 2018-01-22 01:51 UTC by Sam Fowler
Modified: 2021-02-17 00:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An unbounded recursion flaw was found in the way Exiv2 handled certain image files. An attacker could potentially use this flaw to crash the exiv2 CLI utility program by tricking it into processing crafted input files.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:37:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-01-22 01:51:22 UTC
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.

External References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-5772

Upstream Issue:
https://github.com/Exiv2/exiv2/issues/216

Upstream Patch:
https://github.com/Exiv2/exiv2/files/1643286/printStructureFixes.txt

Comment 1 Sam Fowler 2018-01-22 01:51:46 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1536905]

Comment 6 Dhiru Kholia 2018-02-23 09:10:51 UTC
Statement:

This issue did not affect the versions of exiv2 as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.


Note You need to log in before you can comment on or make changes to this bug.