medium6.5
CVE-2023-29408
Golang TIFF decoder does not place a limit on the size of compressed tile data
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | golang.org/x/image | < 0.10.0 | 0.10.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Golang | Image | before 0.10.0 |
| Fedoraproject | Fedora | Versions 37, 38 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://go.dev/cl/514897
- https://go.dev/issue/61582
- 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/
- https://pkg.go.dev/vuln/GO-2023-1989
- https://security.netapp.com/advisory/ntap-20230831-0009/
- https://github.com/advisories/GHSA-x92r-3vfx-4cv3
- https://nvd.nist.gov/vuln/detail/CVE-2023-29408
- 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
- https://security.netapp.com/advisory/ntap-20230831-0009