Bug 1577392 (CVE-2018-10801)

Summary: CVE-2018-10801 libtiff: memory leak in bmp2tiff tool
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
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, tgl
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A memory leak has been discovered in tools/bmp2tiff.c in libtiff, when the iBitCount header value is not acceptable. An attacker may use this flaw to cause a Denial of Service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:22:43 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: 1577314, 1577315, 1577316, 1577393, 1598706    
Bug Blocks: 1577318    

Description Laura Pardo 2018-05-11 21:39:14 UTC
A flaw was found in LibTIFF 3.8.2TIFF. The ClientOpen function in tif_unix.c file has memory leaks which allow local attackers to cause a denial of service (memory consumption) via crafted file.


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

Comment 1 Laura Pardo 2018-05-11 21:41:10 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1577316]


Created mingw-libtiff tracking bugs for this issue:

Affects: epel-7 [bug 1577314]
Affects: fedora-all [bug 1577315]

Comment 5 Riccardo Schirone 2018-07-06 09:32:38 UTC
In bmp2tiff tool a file is opened for writing with TIFFOpen, but when the iBitCount header value is wrong, the tool exits without closing the file.