Out-of-bounds write in OpenEXR - CVE-2017-9111

 

Out-of-bounds write in OpenEXR - CVE-2017-9111

Published: August 19, 2019


Vulnerability identifier: #VU20315
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-9111
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in storeSSE function in ImfOptimizedPixelReading.h. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

OpenEXR
Slackware Linux
Opensuse
Ubuntu
openEuler
Fedora
openexr (Debian package)
openexr (Ubuntu package)
libopenexr22 (Ubuntu package)
libopenexr23 (Ubuntu package)
libopenexr24 (Ubuntu package)
mingw-openexr
OpenEXR
OpenEXR-devel
OpenEXR-debuginfo
OpenEXR-libs
OpenEXR-debugsource

How to mitigate CVE-2017-9111

Install updates from vendor's website.

OpenEXR - update to 2.3.0
openexr (Debian package) - update to 2.2.1-4.1+deb10u1
openexr (Ubuntu package) - addressed in versions 2.2.0-10ubuntu2.1, 2.2.0-10ubuntu2.2, 2.2.0-11.1ubuntu1.1, 2.2.0-11.1ubuntu1.2, 2.2.1-4.1ubuntu0.1, 2.2.1-4.1ubuntu1.1, 2.3.0-6ubuntu0.1
libopenexr22 (Ubuntu package) - addressed in versions 2.2.0-10ubuntu2.2, 2.2.0-11.1ubuntu1.2
libopenexr23 (Ubuntu package) - update to 2.2.1-4.1ubuntu1.1
libopenexr24 (Ubuntu package) - update to 2.3.0-6ubuntu0.1
mingw-openexr - addressed in versions 2.2.0-6.fc26, 2.2.0-7.fc27
OpenEXR - update to 2.2.0-18
OpenEXR-devel - update to 2.2.0-18
OpenEXR-debuginfo - update to 2.2.0-18
OpenEXR-libs - update to 2.2.0-18
OpenEXR-debugsource - update to 2.2.0-18

External References

Related Security Bulletins