Bug 2142740 (CVE-2022-3599)

Summary: CVE-2022-3599 libtiff: out-of-bounds read in writeSingleSection in tools/tiffcrop.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, bdettelb, caswilli, dkuc, fjansen, jburrell, jkoehler, jwong, kaycoth, kshier, micjohns, mmuzila, nforro, rh-spice-bugs, sthirugn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read flaw was found in the writeSingleSection function in tools/tiffcrop.c in the libtiff package. By persuading a victim to open a specially-crafted TIFF image file, a remote attacker could cause a denial of service condition.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 17:42:58 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: 2148888, 2148889, 2148890, 2148891, 2155752    
Bug Blocks: 2137106    

Description Dhananjay Arunesh 2022-11-15 06:34:44 UTC
LibTIFF 4.4.0 has an out-of-bounds read in writeSingleSection in tools/tiffcrop.c:7345, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit e8131125.

References:
https://gitlab.com/libtiff/libtiff/-/commit/e813112545942107551433d61afd16ac094ff246
https://gitlab.com/libtiff/libtiff/-/issues/398
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3599.json

Comment 5 Dhananjay Arunesh 2022-11-28 09:37:34 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2148888]

Comment 8 errata-xmlrpc 2023-05-09 07:31:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2340 https://access.redhat.com/errata/RHSA-2023:2340

Comment 9 Product Security DevOps Team 2023-05-09 17:42:55 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-3599