HIGH7.5
GHSA-9phm-fm57-rhg8
Panic when parsing invalid palette-color images in golang.org/x/image
Quick fix
GHSA-9phm-fm57-rhg8 — golang.org/x/image: upgrade to the fixed version with the command below.
go get golang.org/x/image@v0.18.0Details
Parsing a corrupt or malicious image with invalid color indices can cause a panic.
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"]}'