GitHub Advisoryadvisory · Go
GHSA-x92r-3vfx-4cv3 Golang TIFF decoder does not place a limit on the size of compressed tile data
MEDIUM
Official page ↗
- Aliases
- CVE-2023-29408
- Ecosystem
- Go
- Packages
- golang.org/x/image
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
- Reviewed
- 2023-11-02
Affected packages
• Go golang.org/x/image: < 0.10.0 → fixed in 0.10.0
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.
Related
Alias · CVE (1)
- CVE-2023-29408 The TIFF decoder does not place a limit on the size of compressed tile data. vulnerability
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-29408 advisory
- https://go.dev/cl/514897 web
- https://go.dev/issue/61582 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK web
- https://pkg.go.dev/vuln/GO-2023-1989 web
- https://security.netapp.com/advisory/ntap-20230831-0009 web