Bug 2122799 (CVE-2022-2521)

Summary: CVE-2022-2521 libtiff: Invalid pointer free operation in TIFFClose() at tif_close.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, mike, mmuzila, nforro, phracek, rh-spice-bugs
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 15:12:27 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: 2122800, 2122801, 2133067, 2133068, 2133069, 2133070, 2134025, 2140595    
Bug Blocks: 2122802    

Description Pedro Sampaio 2022-08-30 19:57:01 UTC
It was found in libtiff 4.4.0rc1 that there is an invalid pointer free operation in TIFFClose() at tif_close.c:131 called by tiffcrop.c:2522 that can cause a program crash and denial of service while processing crafted input.

Upstream bug:

https://gitlab.com/libtiff/libtiff/-/issues/422

Upstream fix:

https://gitlab.com/libtiff/libtiff/-/merge_requests/378

Comment 1 Pedro Sampaio 2022-08-30 19:57:22 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2122800]


Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2122801]

Comment 3 errata-xmlrpc 2023-01-12 09:17:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 4 errata-xmlrpc 2023-01-23 15:17:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 6 Product Security DevOps Team 2023-05-16 15:12:25 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-2521