MEDIUM6.5
GHSA-j3p8-6mrq-6g7h
Golang TIFF decoder vulnerable to excessive CPU consumption
Quick fix
GHSA-j3p8-6mrq-6g7h — golang.org/x/image: upgrade to the fixed version with the command below.
go get golang.org/x/image@v0.10.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-29407[ADVISORY]
- https://go.dev/cl/514897[WEB]
- https://go.dev/issue/61581[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK[WEB]
- https://pkg.go.dev/vuln/GO-2023-1990[WEB]
- https://security.netapp.com/advisory/ntap-20230831-0009[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/golang.org/x/image"]}'