Bug 1929315 (CVE-2020-16588)

Summary: CVE-2020-16588 OpenEXR: A Null Pointer Deference in generatePreview in makePreview.cpp could result in a DOS via a crafted EXR file
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jeischma, jridky, kwizart, manisandro, rdieter, rh-spice-bugs
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openexr 2.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 23:06:38 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: 1929316, 1929318, 1930901, 1930902, 1930903    
Bug Blocks: 1929327    

Description Michael Kaplan 2021-02-16 16:35:29 UTC
A Null Pointer Deference issue exists in Academy Software Foundation OpenEXR 2.3.0 in generatePreview in makePreview.cpp that can cause a denial of service via a crafted EXR file.

Comment 2 Michael Kaplan 2021-02-16 16:35:53 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1929316]

Comment 6 Todd Cullum 2021-02-19 20:38:48 UTC
Statement:

This flaw does not affect Red Hat Enterprise Linux 8 because the vulnerable exrmakepreview program is not shipped.

Comment 7 Todd Cullum 2021-02-24 17:49:29 UTC
Flaw summary:

A 1x1 pixel image could cause a null pointer dereference during preview generation due to flawed off-by-one comparisons in  OpenEXR/exrmakepreview/makePreview.cpp generatePreview(). The patch fixes the calculations to properly handle 1x1 images.

Upstream patch: https://github.com/peterhillman/openexr/commit/587ad0ead9b38fd7ced800389bf024820626aa80