Bug 1559704 (CVE-2018-8905)

Summary: CVE-2018-8905 libtiff: heap-based buffer overflow in tif_lzw.c:LZWDecodeCompat() allows for denial of service
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dodevski, erik-fedora, mike, nforro, phracek, rschiron, tgl
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:18:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1559705, 1559706, 1559707, 1559708, 1574548, 1574549    
Bug Blocks: 1559709    

Description Sam Fowler 2018-03-23 05:08:03 UTC
LibTIFF since version 3.9.0 is vulnerable to a heap-based buffer overflow in the
tif_lzw.c:LZWDecodeCompat() function. An attacker could exploit this to cause a
denial of service via crafted TIF file.

Upstream Issue:

Additional References:

Comment 1 Sam Fowler 2018-03-23 05:08:59 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1559705]

Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1559706]
Affects: epel-7 [bug 1559707]

Comment 6 Davor 2018-08-07 13:32:35 UTC
Any updates on this defect?

Comment 7 Riccardo Schirone 2018-08-07 14:18:23 UTC
What kind of updates are you looking for?

Comment 8 Davor 2018-08-07 14:31:44 UTC
Maybe I cannot access all the dependent pages. Is there a workaround or some mitigation recommendation that we can apply?

Comment 9 Riccardo Schirone 2018-08-07 14:50:45 UTC
Upstream patch:

Comment 10 Davor 2018-08-07 14:59:35 UTC
(In reply to Riccardo Schirone from comment #9)
> Upstream patch:
> https://gitlab.com/libtiff/libtiff/commit/
> 58a898cb4459055bb488ca815c23b880c242a27d

Thank You so much!

Comment 11 Riccardo Schirone 2018-08-07 15:47:25 UTC
Updated packages have been already pushed on Fedora 27 and Fedora 28.
For RHEL, a future update may address this issue.

Comment 12 errata-xmlrpc 2019-08-06 12:08:51 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 13 Product Security DevOps Team 2019-08-06 19:18:37 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):