Bug 1631078 (CVE-2018-17101)

Summary: CVE-2018-17101 libtiff: Two out-of-bounds writes in cpTags in tools/tiff2bw.c and tools/pal2rgb.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, ahardin, bleanhar, ccoleman, dbaker, dedgar, erik-fedora, jgoulding, mchappel, mike, nforro, phracek, rh-spice-bugs, sthangav, tgl, trankin
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-08-06 19:19:46 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: 1631079, 1631080, 1631082, 1631083, 1631084, 1632579    
Bug Blocks: 1631081    

Description Pedro Sampaio 2018-09-19 20:29:54 UTC
An issue was discovered in LibTIFF 4.0.9. There are two out-of-bounds writes in cpTags in tools/tiff2bw.c and tools/pal2rgb.c, which can cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image file.

Upstream issue:

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

Upstream patch:

https://gitlab.com/libtiff/libtiff/merge_requests/33/diffs?commit_id=f1b94e8a3ba49febdd3361c0214a1d1149251577

Comment 1 Pedro Sampaio 2018-09-19 20:30:56 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1631079]


Created mingw-libtiff tracking bugs for this issue:

Affects: epel-7 [bug 1631082]
Affects: fedora-all [bug 1631080]

Comment 3 Huzaifa S. Sidhpurwala 2018-09-25 07:24:27 UTC
Out of bounds write, seems non-exploitable, so mostly crash only.

Comment 6 errata-xmlrpc 2019-08-06 12:08:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2053 https://access.redhat.com/errata/RHSA-2019:2053

Comment 7 Product Security DevOps Team 2019-08-06 19:19:46 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-2018-17101