Bug 2228742 (CVE-2023-29408) - CVE-2023-29408 golang.org/x/image/tiff: TIFF decoder does not place a limit on the size of compressed tile data
Summary: CVE-2023-29408 golang.org/x/image/tiff: TIFF decoder does not place a limit o...
Keywords:
Status: NEW
Alias: CVE-2023-29408
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2229618 2229617
Blocks: 2228694
TreeView+ depends on / blocked
 
Reported: 2023-08-03 07:06 UTC by Avinash Hanwate
Modified: 2023-08-07 13:03 UTC (History)
6 users (show)

Fixed In Version: golang.org/x/image/tiff 0.10.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Golang tiff package, where it is vulnerable to a denial of service caused by not limiting the size of compressed tile data. By persuading a victim to open a specially crafted image file, a remote attacker can cause excessive memory and CPU consumption in decoding, resulting in a denial of service condition.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2023-08-03 07:06:14 UTC
The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.

https://pkg.go.dev/vuln/GO-2023-1989
https://go.dev/cl/514897
https://go.dev/issue/61582

Comment 2 Avinash Hanwate 2023-08-07 06:03:22 UTC
Created golang-x-image tracking bugs for this issue:

Affects: fedora-all [bug 2229617]


Created hugo tracking bugs for this issue:

Affects: fedora-all [bug 2229618]


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