Bug 1829006 (CVE-2020-11760)

Summary: CVE-2020-11760 OpenEXR: out-of-bounds read during RLE uncompression in rleUncompress function in ImfRle.cpp
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jeischma, jridky, kwizart, manisandro, psampaio, rdieter, rh-spice-bugs
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: OpenEXR 2.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-01 17:11:27 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: 1829007, 1829008, 1834513, 1834514    
Bug Blocks: 1829017    

Description Guilherme de Almeida Suckevicz 2020-04-28 17:26:34 UTC
An issue was discovered in OpenEXR before 2.4.1. There is an out-of-bounds read during RLE uncompression in rleUncompress in ImfRle.cpp.

References:
https://bugs.chromium.org/p/project-zero/issues/detail?id=1987
https://github.com/AcademySoftwareFoundation/openexr/blob/master/CHANGES.md#version-241-february-11-2020

Comment 1 Guilherme de Almeida Suckevicz 2020-04-28 17:27:00 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1829008]


Created mingw-OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1829007]

Comment 4 Todd Cullum 2020-05-11 20:20:31 UTC
Cause: memcpy was being called on an input buffer to rleUncompress which was not large enough to fit all of the data.

Comment 5 Todd Cullum 2020-05-11 20:23:07 UTC
Statement:

Red Hat Enterprise Linux 7 and prior do not ship the versions of OpenEXR which are vulnerable to this flaw.

Comment 6 Todd Cullum 2020-05-11 20:25:00 UTC
This functionality was added as part of the DWA Compressor support in v2.2.0[1]

1. https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.2.0

Comment 8 Todd Cullum 2020-05-12 19:42:21 UTC
This flaw shares the same underlying cause/patch as CVE-2020-11763.

Comment 9 Shawn Jamison 2021-06-28 15:58:33 UTC
*** Bug 1970991 has been marked as a duplicate of this bug. ***