HIGH7.5
GHSA-q675-qj96-32m9
golang.org/x/image/tiff has excessive resource consumption in PackBits decompression
Quick fix
GHSA-q675-qj96-32m9 — golang.org/x/image: upgrade to the fixed version with the command below.
go get golang.org/x/image@v0.41.0Details
The TIFF decoder does not place a limit on the size of PackBits-compressed 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
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"]}'