Updated hdf5 packages fix security vulnerabilities
Publication date: 29 Dec 2016Modification date: 29 Dec 2016
Type: security
Affected Mageia releases : 5
CVE: CVE-2016-4330 , CVE-2016-4331 , CVE-2016-4332 , CVE-2016-4333
Description
In the HDF5 1.8.16 library's failure to check if the number of dimensions for an array read from the file is within the bounds of the space allocated for it, a heap-based buffer overflow will occur, potentially leading to arbitrary code execution (CVE-2016-4330). When decoding data out of a dataset encoded with the H5Z_NBIT decoding, the HDF5 1.8.16 library will fail to ensure that the precision is within the bounds of the size leading to arbitrary code execution (CVE-2016-4331). The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library (CVE-2016-4332). The HDF5 1.8.16 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. Due to this, an aggressor can cause the loop's index to point outside the bounds of the array when initializing it (CVE-2016-4333).
References
- https://bugs.mageia.org/show_bug.cgi?id=19874
- https://www.debian.org/security/2016/dsa-3727
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4330
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4331
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4332
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4333
SRPMS
5/core
- hdf5-1.8.13-4.1.mga5