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.0Details
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41727[ADVISORY]
- https://go.dev/cl/468195[WEB]
- https://go.dev/issue/58003[WEB]
- https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o[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-1572[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"]}'