Bug 2174311 (CVE-2022-41727)

Summary: CVE-2022-41727 golang.org/x/image: Uncontrolled Resource Consumption
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, amackenz, amasferr, amctagga, aoconnor, aveerama, bdettelb, bniver, chazlett, dymurray, eaguilar, ebaron, eglynn, ellin, flucifre, gmeno, gparvin, ibolton, jcantril, jjoyce, jkang, jkoehler, jmatthew, jmontleo, jpallich, kaycoth, lball, lgamliel, lhh, lmadsen, matzew, mbenjamin, mburns, mfilanov, mgarciac, mhackett, mkudlej, mrajanna, mrunge, mwringe, njean, nobody, ocs-bugs, owatkins, pahickey, periklis, pjindal, rfreiman, rgarg, rhos-maint, rhuss, rjohnson, rrajasek, scorneli, sfroberg, shbose, slucidi, sostapov, spower, sseago, stcannon, teagle, tjochec, ubhargav, vereddy, whayutin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: golang.org/x/image 0.5.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in golang. This flaw allows an attacker to craft a malformed TIFF image, which will consume a significant amount of memory when passed to DecodeConfig, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-15 02:59:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2178354, 2178355    
Bug Blocks: 2169910    

Description Avinash Hanwate 2023-03-01 05:53:18 UTC
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.

https://go.dev/cl/468195
https://go.dev/issue/58003
https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o
https://pkg.go.dev/vuln/GO-2023-1572

Comment 1 Anten Skrabec 2023-03-14 23:21:26 UTC
Created golang-x-image tracking bugs for this issue:

Affects: fedora-all [bug 2178355]


Created hugo tracking bugs for this issue:

Affects: fedora-all [bug 2178354]

Comment 2 Product Security DevOps Team 2023-03-15 02:59:55 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-41727