Bug 1929320 (CVE-2020-16587)

Summary: CVE-2020-16587 OpenEXR: A heap-based buffer overflow in chunkOffsetReconstruction in ImfMultiPartInputFile.cpp could result in a DOS via a crafted EXR file
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jeischma, jridky, kwizart, manisandro, rdieter, rh-spice-bugs
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openexr 2.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 23:07:11 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: 1929321, 1929324, 1930949, 1930950, 1930951    
Bug Blocks: 1929327    

Description Michael Kaplan 2021-02-16 16:39:09 UTC
A heap-based buffer overflow vulnerability exists in Academy Software Foundation OpenEXR 2.3.0 in chunkOffsetReconstruction in ImfMultiPartInputFile.cpp that can cause a denial of service via a crafted EXR file.

Comment 2 Michael Kaplan 2021-02-16 16:40:16 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1929321]

Comment 5 Todd Cullum 2021-02-19 21:05:05 UTC
Statement:

This flaw is out of support scope for OpenEXR as shipped with Red Hat Enterprise Linux 6 and 7. For more information on Red Hat Enterprise Linux support scope, please see https://access.redhat.com/support/policy/updates/errata/ .

Comment 6 Todd Cullum 2021-02-24 17:54:05 UTC
Flaw summary:

MultiPartInputFile::Data::chunkOffsetReconstruction() in OpenEXR/IlmImf/ImfMultiPartInputFile.cpp has an off-by-one error allowing an invalid index to be used when restructuring the chunk offset table. This could cause an out-of-bounds read.

Upstream patch: https://github.com/AcademySoftwareFoundation/openexr/commit/8b5370c688a7362673c3a5256d93695617a4cd9a