VDB
Sign up
MEDIUM5.5

GHSA-qgc7-mgm3-q253

Uncontrolled Resource Consumption in golang.org/x/image

Quick fix

GHSA-qgc7-mgm3-q253 — golang.org/x/image: upgrade to the fixed version with the command below.

go get golang.org/x/image@v0.5.0

Details

An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/golang.org/x/image
Introduced in: 0Fixed in: 0.5.0
Fixgo get golang.org/x/image@v0.5.0

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"]}'