CVE-2024-29165
High · 7.4CVSS
7.4
EPSS
0.2%
Published
May 14, 2024
CISA due date
—
Cloudanix analysis
A flaw in a common data library can let attackers crash programs or run their own code by feeding in specially made data files.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Full Compromise
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in H5Z__filter_fletcher32 corrupts the instruction pointer, enabling denial of service or arbitrary code execution.
Why it matters to the business
Applications processing untrusted HDF5 data face service disruption or potential compromise; the vulnerability affects a widely used data format library with downstream dependents.
How an attack unfolds
An attacker supplies a specially crafted HDF5 file containing malformed Fletcher32 filter data. When the library processes the file locally, the overflow occurs during filter handling, allowing control of the instruction pointer for code execution or crash.
How to fix it
Upgrade udecode/plate to the fixed commit 93dd5712854660874900ae12e4d8e6ff28089eb7 or later; rebuild any dependent packages against the patched HDF5 library version.
How to confirm the fix worked
Confirm the installed udecode/plate commit or HDF5 version is at or above the fixed revision; test with known-malformed Fletcher32 filter inputs to verify absence of overflow behavior.
Typical attack path
- Identify or deliver a malicious HDF5 file to a vulnerable application
- Trigger processing of the file via the H5Z__filter_fletcher32 function
- Exploit the resulting buffer overflow to corrupt the instruction pointer
- Achieve denial of service or execute attacker-controlled code
How to detect it
Review application logs for crashes or unexpected terminations during HDF5 file processing; inspect process memory dumps for signs of instruction pointer corruption near filter handling routines.
What your security team should do
- Prioritize patching udecode/plate and dependent HDF5 usages within 30 days given the potential for code execution
- Scan build pipelines and dependency manifests for vulnerable HDF5 versions
- Restrict processing of untrusted HDF5 files until upgrades are complete
The record
HDF5 through 1.14.3 contains a buffer overflow in H5Z__filter_fletcher32, resulting in the corruption of the instruction pointer and causing denial of service or potential code execution.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | hdf5 | 0 | No fix |
| Debian:12 | hdf5 | 0 | No fix |
| Debian:13 | hdf5 | 0 | No fix |
| Debian:13 | hdf5 | 0 | 1.14.5+repack-1 |
| Ubuntu:20.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:22.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:24.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:24.10 | hdf5 | 0 | No fix |
| Ubuntu:25.04 | hdf5 | 0 | No fix |
| Ubuntu:25.10 | hdf5 | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | hdf5 | 0 | No fix |
Related vulnerabilities
- CVE-2024-32608 [Unknown description] Also affects hdf5
- CVE-2024-33876 HDF5 Library through 1.14.3 has a heap buffer overflow in H5S__point_deserialize in… Also affects hdf5
- CVE-2024-33875 HDF5 Library through 1.14.3 has a heap-based buffer overflow in H5O__layout_encode in… Also affects hdf5
- CVE-2024-33877 HDF5 Library through 1.14.3 has a heap-based buffer overflow in H5T__conv_struct_opt in… Also affects hdf5
- CVE-2024-33873 HDF5 Library through 1.14.3 has a heap-based buffer overflow in H5D__scatter_mem in… Also affects hdf5
- CVE-2024-33874 HDF5 Library through 1.14.3 has a heap buffer overflow in H5O__mtime_new_encode in… Also affects hdf5
- CVE-2024-32624 HDF5 Library through 1.14.3 contains a heap-based buffer overflow in H5T__ref_mem_setnull… Also affects hdf5
- CVE-2024-32619 HDF5 Library through 1.14.3 contains a heap-based buffer overflow in H5T_copy_reopen in… Also affects hdf5