Bug 1765705 (CVE-2019-17546)

Summary: CVE-2019-17546 libtiff: integer overflow leading to heap-based buffer overflow in tif_getimage.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erik-fedora, mike, nforro, phracek, sbalasub
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libtiff 4.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 21:58:44 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: 1765706, 1771370, 1771371, 1771372    
Bug Blocks: 1765707    

Description Guilherme de Almeida Suckevicz 2019-10-25 19:11:57 UTC
tif_getimage.c in LibTIFF through 4.0.10, as used in GDAL through 3.0.1 and other products, has an integer overflow that potentially causes a heap-based buffer overflow via a crafted RGBA image, related to a "Negative-size-param" condition.

Reference:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16443

Upstream commits:
https://gitlab.com/libtiff/libtiff/commit/4bb584a35f87af42d6cf09d15e9ce8909a839145

Comment 1 Guilherme de Almeida Suckevicz 2019-10-25 19:12:11 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1765706]

Comment 3 Huzaifa S. Sidhpurwala 2019-11-12 09:15:35 UTC
Created mingw-libtiff tracking bugs for this issue:

Affects: epel-7 [bug 1771370]

Comment 10 errata-xmlrpc 2020-09-29 19:41:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3902 https://access.redhat.com/errata/RHSA-2020:3902

Comment 11 Product Security DevOps Team 2020-09-29 21:58:44 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-2019-17546

Comment 12 errata-xmlrpc 2020-11-04 02:32:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4634 https://access.redhat.com/errata/RHSA-2020:4634