Bug 2074549 (CVE-2022-1325)

Summary: CVE-2022-1325 CImg: Denial of service via RAM exhaustion in _load_bmp
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: berrange, i
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-12 15:26:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2074550    
Bug Blocks: 2074551    

Description Pedro Sampaio 2022-04-12 13:24:51 UTC
In CImg 3.10, via a maliciously crafted bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer.

Upstream issue:

https://github.com/dtschump/CImg/issues/343

Comment 1 Pedro Sampaio 2022-04-12 13:25:52 UTC
Created CImg tracking bugs for this issue:

Affects: fedora-all [bug 2074550]

Comment 2 Product Security DevOps Team 2022-04-12 15:26:37 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.