Bug 1828985 (CVE-2020-11765) - CVE-2020-11765 OpenEXR: off-by-one error in ImfXdr.h read function by DwaCompressor::Classifier::Classifier leading to an out-of-bounds read
Summary: CVE-2020-11765 OpenEXR: off-by-one error in ImfXdr.h read function by DwaComp...
Alias: CVE-2020-11765
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1828986 1828987 1833533 1833534
Blocks: 1829017
TreeView+ depends on / blocked
Reported: 2020-04-28 17:06 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-01 17:09 UTC (History)
6 users (show)

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

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-04-28 17:06:07 UTC
An issue was discovered in OpenEXR before 2.4.1. There is an off-by-one error in use of the ImfXdr.h read function by DwaCompressor::Classifier::Classifier, leading to an out-of-bounds read.


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

Affects: fedora-all [bug 1828986]

Created mingw-OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1828987]

Comment 5 Todd Cullum 2020-05-08 20:20:14 UTC
Upstream patch: https://github.com/AcademySoftwareFoundation/openexr/commit/3eda5d70aba127bae9bd6bae9956fcf024b64031#diff-cb185925a2ff91a525b31cc2771d52d7

The vulnerable component (DwaCompressor) was introduced in 2.2.0. RHEL 7 and prior are not affected, RHEL 8 ships affected versions.

Comment 6 Todd Cullum 2020-05-08 20:25:21 UTC

Red Hat Enterprise Linux 7 and prior are not affected by this flaw as they do not ship vulnerable versions of OpenEXR.

Comment 7 Todd Cullum 2020-05-08 20:26:13 UTC

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Comment 9 Todd Cullum 2020-05-21 22:15:25 UTC
After speaking with the upstream dev, he identified that the patch for this is actually: https://github.com/AcademySoftwareFoundation/openexr/pull/643/commits/315265c4b62717e44542c896173b42a25c8a96a2 . Several related CVEs for this stem from the same underlying code issues.

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