summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-04-15 01:30:21 (GMT)
committerGitHub <noreply@github.com>2023-04-15 01:30:21 (GMT)
commit895ebf705ea5b830685424cbfe0ebef7cfd90d28 (patch)
tree09fc628a54d08ae47b9576aca9b99b9318137e34 /release_docs
parente1f398a2cf390befda1140e1cdc88719060fc6d0 (diff)
downloadhdf5-895ebf705ea5b830685424cbfe0ebef7cfd90d28.zip
hdf5-895ebf705ea5b830685424cbfe0ebef7cfd90d28.tar.gz
hdf5-895ebf705ea5b830685424cbfe0ebef7cfd90d28.tar.bz2
Fix a heap buffer overflow during H5D__compact_readvv (GitHub #2606) (#2664) (#2726)
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/RELEASE.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 61a2d40..acc5411 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -223,6 +223,25 @@ Bug Fixes since HDF5-1.12.1 release
===================================
Library
-------
+ - Fixed a heap buffer overflow that occurs when reading from
+ a dataset with a compact layout within a malformed HDF5 file
+
+ During opening of a dataset that has a compact layout, the
+ library allocates a buffer that stores the dataset's raw data.
+ The dataset's object header that gets written to the file
+ contains information about how large of a buffer the library
+ should allocate. If this object header is malformed such that
+ it causes the library to allocate a buffer that is too small
+ to hold the dataset's raw data, future I/O to the dataset can
+ result in heap buffer overflows. To fix this issue, an extra
+ check is now performed for compact datasets to ensure that
+ the size of the allocated buffer matches the expected size
+ of the dataset's raw data (as calculated from the dataset's
+ dataspace and datatype information). If the two sizes do not
+ match, opening of the dataset will fail.
+
+ (JTH - 2023/04/04, GH-2606)
+
- Fix for CVE-2019-8396
Malformed HDF5 files may have truncated content which does not match