diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-02-26 20:22:32 (GMT) |
---|---|---|
committer | lrknox <lrknox> | 2018-05-08 19:19:54 (GMT) |
commit | 7e3f95679677db07a5cc606f5edfb723ea56d04e (patch) | |
tree | 67767df9144474bf20f125696449f0f034e94f88 /release_docs | |
parent | ff30acd3c85b8611f3c21685783cb5986390d7b1 (diff) | |
download | hdf5-7e3f95679677db07a5cc606f5edfb723ea56d04e.zip hdf5-7e3f95679677db07a5cc606f5edfb723ea56d04e.tar.gz hdf5-7e3f95679677db07a5cc606f5edfb723ea56d04e.tar.bz2 |
Fix for HDFFV-10354 (CVE-2017-17505).
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/RELEASE.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index c8e2bd5..eb9f0d9 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -132,6 +132,29 @@ Support for New Platforms, Languages, and Compilers Bug Fixes since HDF5-1.8.20 =========================== + - If an HDF5 file contains a filter pipeline message with a 'number of + filters' field that exceeds the maximum number of allowed filters, + the error handling code will attempt to dereference a NULL pointer. + + This issue was reported to The HDF Group as issue #CVE-2017-17505. + + NOTE: The HDF5 C library cannot produce such a file. This condition + should only occur in a corrupt (or deliberately altered) file + or a file created by third-party software. + + This problem arose because the error handling code assumed that + the 'number of filters' field implied that a dynamic array of that + size had already been created and that the cleanup code should + iterate over that array and clean up each element's resources. If + an error occurred before the array has been allocated, this will + not be true. + + This has been changed so that the number of filters is set to + zero on errors. Additionally, the filter array traversal in the + error handling code now requires that the filter array not be NULL. + + (DER - 2018/02/06, HDFFV-10354) + Configuration ------------- - CMake |