Heap-based buffer overflow in OpenEXR - CVE-2021-23169

 

Heap-based buffer overflow in OpenEXR - CVE-2021-23169

Published: June 27, 2021


Vulnerability identifier: #VU54401
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-23169
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the copyIntoFrameBuffer function of OpenEXR. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

OpenEXR
openEuler
Fedora
OpenEXR
OpenEXR-devel
OpenEXR-libs
OpenEXR-debugsource
OpenEXR-debuginfo
mingw-openexr

How to mitigate CVE-2021-23169

Install updates from vendor's website.

OpenEXR - update to 3.0.1
OpenEXR - update to 2.2.0-20
OpenEXR-devel - update to 2.2.0-20
OpenEXR-libs - update to 2.2.0-20
OpenEXR-debugsource - update to 2.2.0-20
OpenEXR-debuginfo - update to 2.2.0-20
mingw-openexr - addressed in versions 2.4.1-4.fc33, 2.5.5-2.fc34

External References

Related Security Bulletins