| id: GO-2023-1990 |
| 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 CPU consumption when decoding 0-height images in |
| golang.org/x/image/tiff |
| description: |- |
| A maliciously-crafted image can cause excessive CPU consumption in decoding. |
| |
| A tiled image with a height of 0 and a very large width can cause excessive CPU |
| consumption, despite the image size (width * height) appearing to be zero. |
| ghsas: |
| - GHSA-j3p8-6mrq-6g7h |
| credits: |
| - Philippe Antoine (Catena cyber) |
| references: |
| - report: https://go.dev/issue/61581 |
| - fix: https://go.dev/cl/514897 |
| cve_metadata: |
| id: CVE-2023-29407 |
| cwe: 'CWE-834: Excessive Iteration' |
| 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 |