Bug 1939149 (CVE-2021-3479)

Summary: CVE-2021-3479 OpenEXR: Out-of-memory caused by allocation of a very large buffer
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cbpilm, jeischma, jridky, kwizart, rdieter, rh-spice-bugs
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: OpenEXR 3.0.0-beta, OpenEXR 2.4.3 Doc Type: If docs needed, set a value
Doc Text:
There's a flaw in OpenEXR's Scanline API functionality. An attacker who is able to submit a crafted file to be processed by OpenEXR could trigger excessive consumption of memory, resulting in an impact to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 23:19:25 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: 1939184, 1944837, 1944838, 1944839, 1944840    
Bug Blocks: 1929339, 1944842    

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

Comment 1 Michael Kaplan 2021-03-15 17:26:32 UTC
External References:

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

Comment 2 Michael Kaplan 2021-03-15 17:46:34 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1939184]

Comment 5 Todd Cullum 2021-03-30 18:29:30 UTC
PR with some explanation: https://github.com/AcademySoftwareFoundation/openexr/pull/830

Comment 8 Todd Cullum 2021-03-30 18:44:37 UTC
*** Bug 1939150 has been marked as a duplicate of this bug. ***

Comment 9 Cary Phillips 2021-04-23 01:51:45 UTC
This is fixed in OpenEXR v2.5.4, v2.5.5, and v3.0.1 and beyond.

Comment 10 Cary Phillips 2021-05-25 21:40:10 UTC
This is also fixed in OpenEXR v2.4.3
https://github.com/AcademySoftwareFoundation/openexr/blob/master/CHANGES.md#version-243-may-17-2021