CVE-2021-37501 Memory corruption in n/a

High 7.5 Published Updated

Attackers can cause a denial of service in HDF5 h5dump via a buffer overflow in the string printing utility.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-37501?

CVE-2021-37501 is a high-severity memory corruption vulnerability in Hdfgroup Hdf5, published on 3 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buffer Overflow vulnerability in HDFGroup hdf5-h5dump 1.12.0 through 1.13.0 allows attackers to cause a denial of service via h5tools_str_sprint in /hdf5/tools/lib/h5tools_str.c.

Weakness: CWE-787

Which versions are affected by CVE-2021-37501?

It affects 1 product.

Linux distribution packages (24)
hdf5_1_10_8-gnu-hpc SUSE:Linux Enterprise Module for HPC 12All versions1.10.8-3.18.1
hdf5_1_10_8-gnu-mvapich2-hpc SUSE:Linux Enterprise Module for HPC 12All versions1.10.8-3.18.1
hdf5_1_10_8-gnu-openmpi1-hpc SUSE:Linux Enterprise Module for HPC 12All versions1.10.8-3.18.1
hdf5_1_10_8-gnu-hpc SUSE:Linux Enterprise Module for HPC 15 SP3All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-mpich-hpc SUSE:Linux Enterprise Module for HPC 15 SP3All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-mvapich2-hpc SUSE:Linux Enterprise Module for HPC 15 SP3All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-openmpi3-hpc SUSE:Linux Enterprise Module for HPC 15 SP3All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-openmpi4-hpc SUSE:Linux Enterprise Module for HPC 15 SP3All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-hpc SUSE:Linux Enterprise Module for HPC 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-mpich-hpc SUSE:Linux Enterprise Module for HPC 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-mvapich2-hpc SUSE:Linux Enterprise Module for HPC 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-openmpi3-hpc SUSE:Linux Enterprise Module for HPC 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-openmpi4-hpc SUSE:Linux Enterprise Module for HPC 15 SP4All versions1.10.8-150400.3.6.1
hdf5 SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-hpc SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-mpich-hpc SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-mvapich2-hpc SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-openmpi3-hpc SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-openmpi4-hpc SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.10.8-150400.3.6.1
hdf5_1_10_8-gnu-hpc openSUSE:Leap 15.4All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-mpich-hpc openSUSE:Leap 15.4All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-mvapich2-hpc openSUSE:Leap 15.4All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-openmpi3-hpc openSUSE:Leap 15.4All versions1.10.8-150300.4.9.1
hdf5_1_10_8-gnu-openmpi4-hpc openSUSE:Leap 15.4All versions1.10.8-150300.4.9.1

Products include Hdfgroup Hdf5.

How do I fix CVE-2021-37501?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-37501 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-37501 exists.

All Hdfgroup Hdf5 vulnerabilities

Sources

Also known as AZL-13349, AZL-34796, DEBIAN-CVE-2021-37501, ECHO-7e9d-d6d6-80fc, GHSA-rfgw-5vq3-wrjf, ROOT-OS-DEBIAN-12-CVE-2021-37501 and 4 more.

Is CVE-2021-37501 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free