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

 

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

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


Vulnerability identifier: #VU54399
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-3598
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 readChars() function in ImfIO.h. 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
Arch Linux
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE CaaS Platform
SUSE Enterprise Storage
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
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
libIlmImf-Imf_2_1-21
openexr-devel
libIlmImf-Imf_2_1-21-debuginfo-32bit
libIlmImf-Imf_2_1-21-32bit
openexr-debugsource
openexr-debuginfo
OpenEXR
libIlmImf-Imf_2_1-21-debuginfo
libopenexr22 (Ubuntu package)
openexr (Ubuntu package)
OpenEXR-debuginfo
OpenEXR-devel
OpenEXR-libs
OpenEXR-debugsource
libIlmImf-2_2-23
libIlmImfUtil-2_2-23-debuginfo
libIlmImfUtil-2_2-23
libIlmImf-2_2-23-debuginfo
mingw-ilmbase
openexr (Debian package)
mingw-openexr

How to mitigate CVE-2021-3598

Install update from vendor's website.

OpenEXR - update to 3.0.5
cflinuxfs3 - update to 0.247.0
libIlmImf-Imf_2_1-21 - update to 2.1.0-6.34.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
openexr-debugsource - addressed in versions 2.1.0-6.34.1, 2.2.1-3.32.1
openexr-debuginfo - addressed in versions 2.1.0-6.34.1, 2.2.1-3.32.1
OpenEXR - update to 2.1.0-6.34.1
libIlmImf-Imf_2_1-21-debuginfo - 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 - update to 2.2.0-22
OpenEXR-debuginfo - update to 2.2.0-22
OpenEXR-devel - update to 2.2.0-22
OpenEXR-libs - update to 2.2.0-22
OpenEXR-debugsource - update to 2.2.0-22
libIlmImf-2_2-23 - update to 2.2.1-3.32.1
libIlmImfUtil-2_2-23-debuginfo - update to 2.2.1-3.32.1
libIlmImfUtil-2_2-23 - update to 2.2.1-3.32.1
libIlmImf-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