Heap-based buffer overflow in HDF5 - CVE-2016-4333

 

Heap-based buffer overflow in HDF5 - CVE-2016-4333

Published: April 25, 2018


Vulnerability identifier: #VU12155
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-4333
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to the library allocating space for the array using a value from the file has an impact within the loop for initializing said array allowing a value within the file to modify the loop's terminator. A local attacker can cause the loop's index to point outside the bounds of the array when initializing it, trigger heap-based buffer overflow and execute arbitrary code with root privileges.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

HDF5
Debian Linux
Gentoo Linux
Fedora
hdf5

How to mitigate CVE-2016-4333

Install update from vendor's website.

hdf5 - addressed in versions 1.8.5.patch1-10.el6, 1.8.12-8.el7, 1.8.17-2.fc25

External References

Related Security Bulletins