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

 

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

Published: August 19, 2019


Vulnerability identifier: #VU20319
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-9115
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 the = operator function in half.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
openexr (Debian package)
openexr (Ubuntu package)
mingw-openexr
OpenEXR
OpenEXR-devel
OpenEXR-debuginfo
OpenEXR-libs
OpenEXR-debugsource
Slackware Linux
Opensuse
openEuler
Fedora

How to mitigate CVE-2017-9115

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-11.1ubuntu1.1, 2.2.1-4.1ubuntu0.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