Bug 1732240 (CVE-2019-12212)

Summary: CVE-2019-12212 freeimage: stack exhaustion in function StreamCalcIFDSize in JXRMeta.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bruno, hobbes1069, i, john, manisandro, rakesh.pandit
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: 2019-07-23 09:07:01 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: 1732241, 1732242, 1732243    
Bug Blocks:    

Description Dhananjay Arunesh 2019-07-23 04:58:07 UTC
When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An attacker can achieve a remote denial of service attack by sending a specially constructed file.

Reference:
https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/

Comment 1 Dhananjay Arunesh 2019-07-23 04:58:30 UTC
Created freeimage tracking bugs for this issue:

Affects: epel-all [bug 1732243]
Affects: fedora-all [bug 1732241]


Created mingw-freeimage tracking bugs for this issue:

Affects: fedora-all [bug 1732242]

Comment 2 Product Security DevOps Team 2019-07-23 09:07:01 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.