7.8high
Grub2: fs/hfs: strcpy() using the volume name (fs/hfs.c:382)
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A flaw was found in the HFS filesystem. When reading an HFS volume's name at grub_fs_mount(), the HFS filesystem driver performs a strcpy() using the user-provided volume name as input without properly validating the volume name's length. This issue may read to a heap-based out-of-bounds writer, impacting grub's sensitive data integrity and eventually leading to a secure boot protection bypass.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| grub2 | up to 2.12 | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| gnu grub2 | up to 2.12 | NVD |
| redhat openshift_container_platform | 4.0 | NVD |
| redhat enterprise_linux | 7.0, 8.0, 9.0 | NVD |
All scores
| redhat | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A flaw was found in the HFS filesystem. When reading an HFS volume's name at grub_fs_mount(), the HFS filesystem driver performs a strcpy() using the user-provided volume name as input without properly validating the volume name's length. This issue may read to a heap-based out-of-bounds writer, impacting grub's sensitive data integrity and eventually leading to a secure boot protection bypass.
NVD (es)
Se encontró una falla en HFS filesystem. Al leer el nombre de un volumen HFS en grub_fs_mount(), el controlador de HFS filesystem realiza una operación strcpy() utilizando el nombre del volumen proporcionado por el usuario como entrada sin validar correctamente la longitud del nombre del volumen. Este problema puede leerse en un escritor fuera de los límites basado en el montón, lo que afecta la integridad de los datos confidenciales de grub y, finalmente, conduce a una omisión de la protección de arranque seguro.
References
| https://access.redhat.com/security/cve/CVE-2024-45782 | broken-link, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2345858 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45782 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2024-45782 changed 2026-11-24 | Public domain |