Bug 2054495 (CVE-2022-0562)

Summary: CVE-2022-0562 libtiff: Null source pointer lead to Denial of Service via crafted TIFF file
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
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, mmuzila, nforro, phracek, rh-spice-bugs, trathi
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 flaw was found in libtiff where a NULL source pointer passed as an argument to the memcpy() function within the TIFFReadDirectory() in tif_dirread.c. This flaw allows an attacker to exploit this vulnerability via a crafted TIFF file, causing a crash and leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-06 20:33:13 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: 2054496, 2054498, 2055142, 2060314, 2060315    
Bug Blocks: 2054500    

Description Sandipan Roy 2022-02-15 04:41:16 UTC
Null source pointer passed as an argument to memcpy() function within TIFFReadDirectory() in tif_dirread.c in libtiff versions from 4.0 to 4.3.0 could lead to Denial of Service via crafted TIFF file. For users that compile libtiff from sources, a fix is available with commit 561599c.

https://gitlab.com/libtiff/libtiff/-/issues/362
https://gitlab.com/gitlab-org/build/omnibus-mirror/libtiff/-/commit/561599c99f987dc32ae110370cfdd7df7975586b
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0562.json

Comment 1 Sandipan Roy 2022-02-15 04:43:36 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2054498]


Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2054496]

Comment 7 errata-xmlrpc 2022-11-08 09:45:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7585 https://access.redhat.com/errata/RHSA-2022:7585

Comment 8 errata-xmlrpc 2022-11-15 10:35:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8194 https://access.redhat.com/errata/RHSA-2022:8194

Comment 9 Product Security DevOps Team 2022-12-06 20:33:11 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-2022-0562