blob: 0e48c182c74aaddecaf2af9d80c64baa1db954a2 [file] [log] [blame]
id: GO-2023-1989
modules:
- module: golang.org/x/image
versions:
- fixed: 0.10.0
vulnerable_at: 0.9.0
packages:
- package: golang.org/x/image/tiff
symbols:
- newDecoder
derived_symbols:
- Decode
- DecodeConfig
summary: Excessive resource consumption in golang.org/x/image/tiff
description: |-
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.
ghsas:
- GHSA-x92r-3vfx-4cv3
credits:
- Philippe Antoine (Catena cyber)
references:
- report: https://go.dev/issue/61582
- fix: https://go.dev/cl/514897
cve_metadata:
id: CVE-2023-29408
cwe: 'CWE-770: Allocation of Resources Without Limits or Throttling'
references:
- https://security.netapp.com/advisory/ntap-20230831-0009/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/
review_status: REVIEWED