Bug 2148918 (CVE-2022-3970)

Summary: CVE-2022-3970 libtiff: integer overflow in function TIFFReadRGBATileExt of the file
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: bdettelb, caswilli, dkuc, fjansen, hkataria, jburrell, jkoehler, kaycoth, kshier, micjohns, mmuzila, nforro, rh-spice-bugs, sthirugn
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw was found in LibTIFF. This issue exists in the TIFFReadRGBATileExt function of the libtiff/tif_getimage.c file, and may lead to a buffer overflow.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 15:46:12 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: 2148919, 2148921, 2148922, 2148923, 2148924    
Bug Blocks: 2143413    

Description Dhananjay Arunesh 2022-11-28 11:13:55 UTC
A vulnerability was found in LibTIFF. It has been classified as critical. This affects the function TIFFReadRGBATileExt of the file libtiff/tif_getimage.c. The manipulation leads to integer overflow. It is possible to initiate the attack remotely.

References:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53137
https://gitlab.com/libtiff/libtiff/-/commit/227500897dfb07fb7d27f7aa570050e62617e3be

Comment 1 Dhananjay Arunesh 2022-11-28 11:14:17 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2148919]

Comment 5 Dhananjay Arunesh 2023-01-06 07:28:38 UTC
Setting UI:R, because, in order to open/pass the specially crafted TIFF file, the user interaction is must.

Comment 6 errata-xmlrpc 2023-05-09 07:31:42 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 7 errata-xmlrpc 2023-05-16 08:24:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 8 Product Security DevOps Team 2023-05-16 15:46:09 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-3970