Bug 2170178 (CVE-2023-0802) - CVE-2023-0802 libtiff: out-of-bounds write in extractContigSamplesShifted32bits() in tools/tiffcrop.c
Summary: CVE-2023-0802 libtiff: out-of-bounds write in extractContigSamplesShifted32bi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-0802
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: 2170179 2170180 2170181 2170182 2170611 2170612 2170613 2170614 2193356
Blocks: 2169674
TreeView+ depends on / blocked
 
Reported: 2023-02-15 19:41 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-09-26 09:18 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in tiffcrop, a program distributed by the libtiff package. A specially crafted tiff file can lead to an out-of-bounds write in the extractContigSamplesShifted32bits function in tools/tiffcrop.c, resulting in a Denial of Service and limited data modification.
Clone Of:
Environment:
Last Closed: 2023-06-22 02:40:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:3711 0 None None None 2023-06-21 14:38:49 UTC
Red Hat Product Errata RHSA-2023:5353 0 None None None 2023-09-26 09:18:13 UTC

Description Guilherme de Almeida Suckevicz 2023-02-15 19:41:16 UTC
LibTIFF 4.4.0 has an out-of-bounds write in tiffcrop in tools/tiffcrop.c:3724, 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 33aee127.

References:
https://gitlab.com/libtiff/libtiff/-/issues/500
https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-0802.json

Upstream patch:
https://gitlab.com/libtiff/libtiff/-/commit/33aee1275d9d1384791d2206776eb8152d397f00

Comment 1 Guilherme de Almeida Suckevicz 2023-02-15 19:41:47 UTC
Created iv tracking bugs for this issue:

Affects: fedora-all [bug 2170181]


Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2170179]


Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2170180]


Created tkimg tracking bugs for this issue:

Affects: fedora-all [bug 2170182]

Comment 3 errata-xmlrpc 2023-06-21 14:38:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 4 Product Security DevOps Team 2023-06-22 02:40:15 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-2023-0802

Comment 6 errata-xmlrpc 2023-09-26 09:18:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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


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