Bug 1852011 (CVE-2020-15305) - CVE-2020-15305 OpenEXR: Invalid input could cause a use-after-free in DeepScanLineInputFile::DeepScanLineInputFile() in IlmImf/ImfDeepScanLineInputFile.cpp
Summary: CVE-2020-15305 OpenEXR: Invalid input could cause a use-after-free in DeepSca...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-15305
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: 1852012 1852013 1910631
Blocks: 1852018
TreeView+ depends on / blocked
 
Reported: 2020-06-29 15:26 UTC by Michael Kaplan
Modified: 2022-04-17 20:57 UTC (History)
6 users (show)

Fixed In Version: OpenEXR 2.5.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-02 01:27:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2020-06-29 15:26:10 UTC
An issue was discovered in OpenEXR before 2.5.2. Invalid input could cause a use-after-free in DeepScanLineInputFile::DeepScanLineInputFile() in IlmImf/ImfDeepScanLineInputFile.cpp.

References:

https://github.com/AcademySoftwareFoundation/openexr/blob/master/CHANGES.md
https://github.com/AcademySoftwareFoundation/openexr/blob/master/SECURITY.md
https://github.com/AcademySoftwareFoundation/openexr/pull/730
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.2

Comment 1 Michael Kaplan 2020-06-29 15:26:31 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1852012]


Created mingw-OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1852013]

Comment 2 Todd Cullum 2020-07-01 21:50:00 UTC
There's a case in which DeepScanLineInputFile::DeepScanLineInputFile() could fail to initialize a header, then free some heap memory (_data) without throwing an exception. Thus, upon the next deference of the heap memory, this would cause a use-after-free when passed to readLineOffsets(). This would likely result in a crash.

Comment 3 Todd Cullum 2020-07-01 21:55:19 UTC
Statement:

The versions of OpenEXR shipped with Red Hat Enterprise Linux 6, 7, and 8 are not affected by this flaw as the affected code was introduced in a newer version of OpenEXR.

Comment 4 Product Security DevOps Team 2020-07-02 01:27:38 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-15305


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