Bug 1852015 (CVE-2020-15304) - CVE-2020-15304 OpenEXR: An invalid tiled input file could cause invalid memory access in TiledInputFile::TiledInputFile() in IlmImf/ImfTiledInputFile.cpp
Summary: CVE-2020-15304 OpenEXR: An invalid tiled input file could cause invalid memor...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-15304
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: 1852016 1852017 1910630
Blocks: 1852018
TreeView+ depends on / blocked
 
Reported: 2020-06-29 15:28 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:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2020-06-29 15:28:45 UTC
An issue was discovered in OpenEXR before 2.5.2. An invalid tiled input file could cause invalid memory access in TiledInputFile::TiledInputFile() in IlmImf/ImfTiledInputFile.cpp, as demonstrated by a NULL pointer dereference.

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/727
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.2

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

Affects: fedora-all [bug 1852016]


Created mingw-OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1852017]

Comment 2 Todd Cullum 2020-07-01 22:24:51 UTC
In TiledInputFile::TiledInputFile() there's a catch block which would attempt to delete memory pointed to by NULL _data->tileBuffers pointers. The data is retrieved from an input stream that could accept an invalid tiled input file. This would cause a crash.

Comment 3 Todd Cullum 2020-07-01 22:25:57 UTC
Statement:

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

Comment 4 Product Security DevOps Team 2020-07-02 01:27:41 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-15304


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