Bug 1939151 (CVE-2021-20303) - CVE-2021-20303 OpenEXR: Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer
Summary: CVE-2021-20303 OpenEXR: Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-20303
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: 1939178 1944921 1944922 1944923
Blocks: 1929339 2002259
TreeView+ depends on / blocked
 
Reported: 2021-03-15 17:26 UTC by Michael Kaplan
Modified: 2021-11-02 23:19 UTC (History)
5 users (show)

Fixed In Version: OpenEXR 2.5.4
Doc Type: If docs needed, set a value
Doc Text:
There is a flaw in OpenEXR's dataWindowForTile function. An attacker who is able to submit a crafted file to be processed by OpenEXR could trigger an integer overflow, leading to an out-of-bounds write on the heap. The greatest impact of this flaw is to application availability, with some potential impact to data integrity as well.
Clone Of:
Environment:
Last Closed: 2021-11-02 23:19:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-03-15 17:26:44 UTC
Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer

Comment 1 Michael Kaplan 2021-03-15 17:26:48 UTC
External References:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25505

Comment 2 Michael Kaplan 2021-03-15 17:48:25 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1939178]

Comment 3 Todd Cullum 2021-03-30 23:19:37 UTC
Upstream PR which references patch commit and confirms it's association with aforementioned oss-fuzz report: https://github.com/AcademySoftwareFoundation/openexr/pull/831

Flaw summary:

An integer overflow in IlmImf/ImfTiledMisc.cpp function dataWindowForTile(), when dataWindow.min + tileSize > INT_MAX, could lead to an out-of-bounds write of heap buffer. The data written does not appear to be directly controllable via this flaw, but could be combined with other flaws to achieve a greater impact.


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