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

 

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

Published: June 27, 2021 / Updated: July 3, 2021


Vulnerability identifier: #VU54398
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3605
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 within the rleUncompress function in ImfRle.cpp. 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
Debian Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE CaaS Platform
SUSE Enterprise Storage
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Desktop Applications
Ubuntu
openEuler
Fedora
cflinuxfs3
OpenEXR
OpenEXR-32bit
openexr-debuginfo
openexr-debugsource
OpenEXR-debuginfo-32bit
openexr-devel
libIlmImf-Imf_2_1-21-debuginfo-32bit
libIlmImf-Imf_2_1-21-32bit
libIlmImf-Imf_2_1-21-debuginfo
libIlmImf-Imf_2_1-21
libopenexr22 (Ubuntu package)
openexr (Ubuntu package)
OpenEXR-devel
OpenEXR-libs
OpenEXR-debuginfo
OpenEXR-debugsource
libIlmImf-2_2-23
libIlmImf-2_2-23-debuginfo
libIlmImfUtil-2_2-23
libIlmImfUtil-2_2-23-debuginfo
mingw-ilmbase
openexr (Debian package)
mingw-openexr

How to mitigate CVE-2021-3605

Install update from vendor's website.

OpenEXR - update to 3.0.5
cflinuxfs3 - update to 0.247.0
OpenEXR - addressed in versions 1.6.1-83.17.25.1, 2.1.0-6.34.1
OpenEXR-32bit - update to 1.6.1-83.17.25.1
openexr-debuginfo - addressed in versions 1.6.1-83.17.25.1, 2.1.0-6.34.1, 2.2.1-3.32.1
openexr-debugsource - addressed in versions 1.6.1-83.17.25.1, 2.1.0-6.34.1, 2.2.1-3.32.1
OpenEXR-debuginfo-32bit - update to 1.6.1-83.17.25.1
openexr-devel - addressed in versions 2.1.0-6.34.1, 2.2.1-3.32.1
libIlmImf-Imf_2_1-21-debuginfo-32bit - update to 2.1.0-6.34.1
libIlmImf-Imf_2_1-21-32bit - update to 2.1.0-6.34.1
libIlmImf-Imf_2_1-21-debuginfo - update to 2.1.0-6.34.1
libIlmImf-Imf_2_1-21 - update to 2.1.0-6.34.1
libopenexr22 (Ubuntu package) - addressed in versions 2.2.0-11.1ubuntu1.7, 2.2.010ubuntu2.6+esm1
openexr (Ubuntu package) - addressed in versions 2.2.0-11.1ubuntu1.7, 2.2.010ubuntu2.6+esm1
OpenEXR-devel - update to 2.2.0-23
OpenEXR-libs - update to 2.2.0-23
OpenEXR-debuginfo - update to 2.2.0-23
OpenEXR-debugsource - update to 2.2.0-23
OpenEXR - update to 2.2.0-23
libIlmImf-2_2-23 - update to 2.2.1-3.32.1
libIlmImf-2_2-23-debuginfo - update to 2.2.1-3.32.1
libIlmImfUtil-2_2-23 - update to 2.2.1-3.32.1
libIlmImfUtil-2_2-23-debuginfo - update to 2.2.1-3.32.1
mingw-ilmbase - update to 2.4.1-3.fc33
openexr (Debian package) - update to 2.5.4-2+deb11u1
mingw-openexr - update to 2.5.5-3.fc34

External References

Related Security Bulletins