Описание
NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.3.0 allows attackers to cause a denial of service via a dataset whose version 1 or 2 fill value message has the "defined" flag set together with a negative size field, which is not normalized to the library's "undefined" sentinel and reaches H5T_path_find with a NULL datatype.
A flaw was found in HDF5. A local attacker could exploit a vulnerability in the H5Pget_fill_value function by providing a specially crafted dataset. This could lead to a denial of service, making the system unavailable.
Отчет
A flaw was found in the HDF5 library where the H5Pget_fill_value function fails to properly validate and normalize dataset fill value messages. Specifically, when processing a version 1 or version 2 fill value message containing a negative size field alongside an active "defined" flag, the library fails to set the appropriate "undefined" sentinel value. When this unnormalized structure is evaluated, it passes a NULL datatype pointer to H5T_path_find, resulting in a NULL pointer dereference. To exploit this issue, an attacker must trick a local user or service application linking against the HDF5 library into parsing a specially crafted HDF5 dataset file. Successful exploitation causes the calling application process to terminate abruptly, resulting in a localized denial of service (DoS). Because the vulnerability results strictly in a NULL dereference crash without memory corruption, privilege escalation, or unauthorized data exposure, confidentiality and integrity are unaffected, and the blast radius is confined to the individual parsing process. Due to these reasons, this vulnerability has been rated with a Moderate severity.
Меры по смягчению последствий
To reduce risk prior to patching, restrict processing HDF5 files from untrusted sources, or run file-parsing workflows within isolated, unprivileged worker processes to prevent a potential crash from impacting core operations.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | hdf5 | Affected |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.3.0 allows attackers to cause a denial of service via a dataset whose version 1 or 2 fill value message has the "defined" flag set together with a negative size field, which is not normalized to the library's "undefined" sentinel and reaches H5T_path_find with a NULL datatype.
NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.3.0 allows attackers to cause a denial of service via a dataset whose version 1 or 2 fill value message has the "defined" flag set together with a negative size field, which is not normalized to the library's "undefined" sentinel and reaches H5T_path_find with a NULL datatype.
HDF5 H5Pget_fill_value NULL Pointer Dereference via Malformed Fill Value Message
NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.3.0 all ...
NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.1.1 allows attackers to cause a denial of service via a dataset whose version 1 or 2 fill value message has the "defined" flag set together with a negative size field, which is not normalized to the library's "undefined" sentinel and reaches H5T_path_find with a NULL datatype.
EPSS
5.5 Medium
CVSS3