Bug 1829010 (CVE-2020-11759) - CVE-2020-11759 OpenEXR: out-of-bounds write due to integer overflows in CompositeDeepScanLine::Data::handleDeepFrameBuffer and readSampleCountForLineBlock
Summary: CVE-2020-11759 OpenEXR: out-of-bounds write due to integer overflows in Compo...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-11759
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: 1829018 1829019 1834526 1834527
Blocks: 1829017
TreeView+ depends on / blocked
 
Reported: 2020-04-28 17:30 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:01 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-04-28 17:30:57 UTC
An issue was discovered in OpenEXR before 2.4.1. Because of integer overflows in CompositeDeepScanLine::Data::handleDeepFrameBuffer and readSampleCountForLineBlock, an attacker can write to an out-of-bounds pointer.

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

Affects: fedora-all [bug 1829019]


Created mingw-OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1829018]

Comment 6 Todd Cullum 2020-05-11 20:52:22 UTC
Appears to be caused by an integer overflow due to use of an int type rather than ptrdiff_t type in CompositeDeepScanLine::Data::handleDeepFrameBuffer.

Comment 7 Todd Cullum 2020-05-11 20:57:01 UTC
Statement:

The versions of OpenEXR which are vulnerable to this flaw are not shipped in Red Hat Enterprise Linux 7 or prior.

Comment 8 Todd Cullum 2020-05-21 22:26:55 UTC
After speaking with upstream, the patch for this was actually: https://github.com/AcademySoftwareFoundation/openexr/pull/643/commits/41a99da450e749800182674012c8df002919e15a .


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