diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2021-09-15 19:16:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 19:16:15 (GMT) |
commit | 4bf757e87bf1aa0d2e6fc5ee6128b795c535c27a (patch) | |
tree | 9ee2bdebe512e64b129f71792cc32f116eecf19a /release_docs | |
parent | 3cf0d48272f0ec6afbec318c90c945e91b7ba56d (diff) | |
download | hdf5-4bf757e87bf1aa0d2e6fc5ee6128b795c535c27a.zip hdf5-4bf757e87bf1aa0d2e6fc5ee6128b795c535c27a.tar.gz hdf5-4bf757e87bf1aa0d2e6fc5ee6128b795c535c27a.tar.bz2 |
1.10 Fixes a bad memory read and unfreed memory in fsinfo code (#893) (#1013)
* Fixes a bad memory read and unfreed memory in fsinfo code (#893)
* Fixes a bad memory read and unfreed memory in fsinfo code
The segfault from CVE-2020-10810 was fixed some time ago, but the
illegal memory read and unfreed memory were not.
This fix tracks some buffer sizes and errors out gracefully on errors,
ensuring buffers are cleaned up and avoiding the H5FL infinite loop +
abort on library close.
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Committing clang-format changes
Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/RELEASE.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 601f6ed..e615fbf 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -466,6 +466,23 @@ Bug Fixes since HDF5-1.10.7 release (JWSB - 2021/09/13) + - Fixed an invalid read and memory leak when parsing corrupt file space + info messages + + When the corrupt file from CVE-2020-10810 was parsed by the library, + the code that imports the version 0 file space info object header + message to the version 1 struct could read past the buffer read from + the disk, causing an invalid memory read. Not catching this error would + cause downstream errors that eventually resulted in a previously + allocated buffer to be unfreed when the library shut down. In builds + where the free lists are in use, this could result in an infinite loop + and SIGABRT when the library shuts down. + + We now track the buffer size and raise an error on attempts to read + past the end of it. + + (DER - 2021/08/12, HDFFV-11053) + - Fixed CVE-2018-14460 The tool h5repack produced a segfault when the rank in dataspace |