SUSE-SU-2024:0538-1: Security update for hdf5
This update for hdf5 fixes the following issues: Updated to version 1.10.11 Changed the error handling for a not found path in the find plugin process. Fixed CVE-2018-11202, a malformed file could result in chunk index memory leaks. Fixed a file space allocation bug in the parallel library for chunked datasets. Fixed an assertion failure in Parallel HDF5 when a file can't be created due to an invalid library version bounds setting. Fixed an assertion in a previous fix for CVE-2016-4332. Fixed segfault on file close in h5debug which fails with a core dump on a file that has an illegal file size in its cache image. Fixes HDFFV-11052, CVE-2020-10812. Fixed memory leaks that could occur when reading a dataset from a malformed file. Fixed a bug in H5Ocopy that could generate invalid HDF5 files Fixed potential heap buffer overflow in decoding of link info message. Fixed potential buffer overrun issues in some object header decode routines. Fixed a heap buffer overflow that occurs when reading from a dataset with a compact layout within a malformed HDF5 file. Fixed CVE-2019-8396, malformed HDF5 files where content does not match expected size. Fixed memory leak when running h5dump with proof of vulnerability file. Added option --no-compact-subset to h5diff. Fixes since 1.10.10: Fixed a memory corruption when reading from dataset using a hyperslab selection in file dataspace and a point selection memory dataspace. Fix CVE-2021-37501 Fixed an issue with variable length attributes. Fixed an issue with hyperslab selections where an incorrect combined selection was produced. Fixed an issue with attribute type conversion with compound datatypes. Modified H5Fstartswmrwrite() to preserve DAPL properties. Converted an assertion on (possibly corrupt) file contents to a normal error check. Fixed memory leak with variable-length fill value in H5Ofillconvert(). Fix h5repack to only print output when verbose option is selected. Fixes since 1.10.9: Several improvements to parallel compression feature, including: Improved support for collective I/O (for both writes and reads). Reduction of copying of application data buffers passed to H5Dwrite. Addition of support for incremental file space allocation for filtered datasets created in parallel. Addition of support for HDF5's "don't filter partial edge chunks" flag Addition of proper support for HDF5 fill values with the feature. Addition of 'H5HAVEPARALLELFILTEREDWRITES' macro to H5pubconf.h so HDF5 applications can determine at compile-time whether the feature is available. Addition of simple examples
h5repack added an optional verbose value for reporting R/W timing. Fixed a metadata cache bug when resizing a pinned/protected cache entry. Fixed a problem with the H5VERSRELEASE check in the H5checkversion function. Unified handling of collective metadata reads to correctly fix old bugs. Fixed several potential MPI deadlocks in library failure conditions. Fixed an issue with collective metadata reads being permanently disabled after a dataset chunk lookup operation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
suse/hdf5-gnu-openmpi3-hpc-develto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-mvapich2-hpc-develto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-mpich-hpc-develto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-openmpi4-hpc-develto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-hpc-develto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-mvapich2-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-openmpi4-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-openmpi3-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-mpich-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-hpc-examplesto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/libhdf5-gnu-mpich-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/libhdf5-gnu-mvapich2-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/libhdf5-gnu-openmpi3-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/libhdf5-gnu-openmpi4-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/libhdf5-gnu-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-150400.3.12.1 - Upgrade
Upgrade
suse/hdf5-gnu-mpich-hpcto a version that resolves this vulnerability.Fixed in 1.10.11-1 - Upgrade
Upgrade
hdf5to a version that resolves this vulnerability.Fixed in 1.10.11
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments should be prioritized for this update?
Prioritize systems using the listed SUSE HDF5 HPC packages, including the GNU builds for OpenMPI 3, OpenMPI 4, MVAPICH2, and MPICH, along with their development packages.
What would an attacker need to trigger the affected code paths?
The issues are associated with malformed HDF5 files. Exposure is most relevant where an application or HDF5 utility reads HDF5 files that may be attacker-controlled or otherwise untrusted.
What is the remediation provided by this advisory?
The update moves HDF5 to version 1.10.11 and includes fixes for malformed-file handling issues, including potential heap buffer overflows, buffer overruns, memory leaks, assertion failures, and a segmentation fault in h5debug.