Bug 1487202 (CVE-2017-12944)

Summary: CVE-2017-12944 libtiff: Mishandled memory allocation for short files in the TIFFReadDirEntryArray function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, mike, nforro, phracek
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-06-08 03:23:15 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: 1474372, 1474373, 1474374, 1910613    
Bug Blocks:    

Description Andrej Nemec 2017-08-31 12:26:56 UTC
The TIFFReadDirEntryArray function in tif_read.c in LibTIFF mishandles memory allocation for short files, which allows attackers to cause a denial of service (allocation failure and application crash) in the TIFFFetchStripThing function in tif_dirread.c during a tiff2pdf invocation.

Upstream issue:

http://bugzilla.maptools.org/show_bug.cgi?id=2725

Upstream patch:

https://github.com/vadz/libtiff/commit/dc02f9050311a90b3c0655147cee09bfa7081cfc

Comment 1 Andrej Nemec 2017-08-31 12:27:59 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1474373]


Created mingw-libtiff tracking bugs for this issue:

Affects: epel-7 [bug 1474372]
Affects: fedora-all [bug 1474374]