Bug 2142738 (CVE-2022-3598) - CVE-2022-3598 libtiff: out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c
Summary: CVE-2022-3598 libtiff: out-of-bounds write in extractContigSamplesShifted24bi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-3598
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2148881 2148882 2148883 2148884 2148885
Blocks: 2137106
TreeView+ depends on / blocked
 
Reported: 2022-11-15 06:31 UTC by Dhananjay Arunesh
Modified: 2023-05-09 17:18 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds write flaw was found in the extractContigSamplesShifted24bits 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.
Clone Of:
Environment:
Last Closed: 2023-05-09 17:18:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2340 0 None None None 2023-05-09 07:31:33 UTC

Description Dhananjay Arunesh 2022-11-15 06:31:00 UTC
LibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, 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 cfbb883b.

References:
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3598.json
https://gitlab.com/libtiff/libtiff/-/issues/435
https://gitlab.com/libtiff/libtiff/-/commit/cfbb883bf6ea7bedcb04177cc4e52d304522fdff

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

Affects: fedora-all [bug 2148881]

Comment 7 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 8 Product Security DevOps Team 2023-05-09 17:18:26 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-3598


Note You need to log in before you can comment on or make changes to this bug.