Bug 2122792 (CVE-2022-2520)

Summary: CVE-2022-2520 libtiff: Assertion fail 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: 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:11:22 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: 2122793, 2122794, 2132795, 2132796, 2132797, 2132798, 2134024, 2140594    
Bug Blocks: 2122802    

Description Pedro Sampaio 2022-08-30 19:47:07 UTC
A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input.

Upstream bug:

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

Upstream fix:

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

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

Affects: fedora-all [bug 2122794]


Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2122793]

Comment 3 errata-xmlrpc 2023-01-12 09:17:23 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: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 6 Product Security DevOps Team 2023-05-16 15:11:20 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-2520