Bug 2122789 (CVE-2022-2519)

Summary: CVE-2022-2519 libtiff: Double free or corruption in rotateImage() function at tiffcrop.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
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
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 double-free flaw was found in the tiffcrop tool distributed with the libtiff tools package. The double-free issue leads to a denial of service, impacting the availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 14:54:07 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: 2122795, 2122796, 2132476, 2132477, 2132478, 2132479, 2134023, 2140592    
Bug Blocks: 2122802    

Description Pedro Sampaio 2022-08-30 19:29:27 UTC
There is a double free or corruption in rotateImage() at tiffcrop.c:8839 found in libtiff 4.4.0rc1

Upstream issue:

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

Upstream fix:

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

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

Affects: fedora-all [bug 2122795]


Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2122796]

Comment 4 errata-xmlrpc 2023-01-12 09:17:22 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 5 errata-xmlrpc 2023-01-23 15:17:16 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 7 Product Security DevOps Team 2023-05-16 14:54:04 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-2519