Bug 2142736 (CVE-2022-3597) - CVE-2022-3597 libtiff: out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix
Summary: CVE-2022-3597 libtiff: out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-3597
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: 2142737 2144713 2184913
Blocks: 2137106
TreeView+ depends on / blocked
 
Reported: 2022-11-15 06:26 UTC by Dhananjay Arunesh
Modified: 2023-05-09 17:17 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 _TIFFmemcpy function in libtiff/tif_unix.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:17:21 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:28 UTC

Description Dhananjay Arunesh 2022-11-15 06:26:27 UTC
LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6826, 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 236b7191.

References:
https://gitlab.com/libtiff/libtiff/-/issues/413
https://gitlab.com/libtiff/libtiff/-/commit/236b7191f04c60d09ee836ae13b50f812c841047
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3597.json

Comment 1 Dhananjay Arunesh 2022-11-15 06:27:30 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2142737]

Comment 8 Dhananjay Arunesh 2023-04-06 07:36:29 UTC
Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-36 [bug 2184913]

Comment 9 errata-xmlrpc 2023-05-09 07:31:25 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 10 Product Security DevOps Team 2023-05-09 17:17:18 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-3597


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