Bug 1829014 (CVE-2020-11758) - CVE-2020-11758 OpenEXR: out-of-bounds read in ImfOptimizedPixelReading.h
Summary: CVE-2020-11758 OpenEXR: out-of-bounds read in ImfOptimizedPixelReading.h
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-11758
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1829015 1829016 1834983 1834984
Blocks: 1829017
TreeView+ depends on / blocked
 
Reported: 2020-04-28 17:34 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-01 17:12 UTC (History)
6 users (show)

Fixed In Version: OpenEXR 2.4.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-01 17:12:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-04-28 17:34:02 UTC
An issue was discovered in OpenEXR before 2.4.1. There is an out-of-bounds read in ImfOptimizedPixelReading.h.

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:34:24 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1829016]


Created mingw-OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1829015]

Comment 2 Todd Cullum 2020-05-12 00:19:45 UTC
This looks like it may be caused by the same root issue as CVE-2020-11759 - see upstream commit[1]. Note the patch is not in ImfOptimizedPixelReading.h but there's a call to DeepScanLineInputFile::DeepScanLineInputFile() earlier in the call stack which was patched.

1. https://github.com/AcademySoftwareFoundation/openexr/commit/e79d2296496a50826a15c667bf92bdc5a05518b4

Comment 3 Todd Cullum 2020-05-12 00:21:50 UTC
Statement:

The versions of OpenEXR shipped with Red Hat Enterprise Linux 7 and prior are not affected by this vulnerability.

Comment 4 Todd Cullum 2020-05-12 19:49:05 UTC
The patch for this was actually done here: https://github.com/AcademySoftwareFoundation/openexr/pull/643/commits/8b97a010d2f74f5125e8608c67c638db059c7cbd


Note You need to log in before you can comment on or make changes to this bug.