Bug 1732225 (CVE-2019-12214)

Summary: CVE-2019-12214 freeimage: out-of-bounds access in function j2k_read_ppm_v3 in j2k.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:06:58 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: 1732228, 1732226, 1732227    
Bug Blocks:    

Description Dhananjay Arunesh 2019-07-23 04:50:14 UTC
In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.

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

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

Affects: epel-all [bug 1732228]
Affects: fedora-all [bug 1732226]


Created mingw-freeimage tracking bugs for this issue:

Affects: fedora-all [bug 1732227]

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