Bug 1939156 (CVE-2021-20298)

Summary: CVE-2021-20298 OpenEXR: Out-of-memory in B44Compressor
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, rdieter, rh-spice-bugs
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: OpenEXR 3.0.0-beta Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 23:20:49 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: 1944455, 1944456, 1944457, 1944458, 1944459    
Bug Blocks: 1929339    

Description Michael Kaplan 2021-03-15 17:27:16 UTC
Out-of-memory in openexr_exrenvmap_fuzzer

Comment 1 Michael Kaplan 2021-03-15 17:27:20 UTC
External References:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25913

Comment 2 Todd Cullum 2021-03-30 00:21:56 UTC
Flaw summary:

OpenEXR/IlmImf/ImfB44Compressor.cpp used a temporary buffer _tmpBuffer. Allocation of this buffer was twice the size necessary. This could lead to out-of-memory errors and a denial of service.

Comment 4 Todd Cullum 2021-03-30 00:30:01 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1944455]