{"id":"CVE-2024-45782","title":"A flaw was found in the HFS filesystem","summary":"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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-787","CWE-787"],"vendor":"gnu","product":"grub2","affected":["grub2 <= 2.12","openshift_container_platform = 4.0","enterprise_linux = 7.0","enterprise_linux = 8.0","enterprise_linux = 9.0"],"published":"2025-03-03","updated":"2026-06-25","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-45782","references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-45782","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2345858","label":"secalert@redhat.com"}],"tags":["nvd"],"epss":0.00221,"epssPercentile":0.1287,"ingestedAt":"2026-06-29T13:24:34.181Z","slug":"CVE-2024-45782","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `grub2 <= 2.12`\n- `openshift_container_platform = 4.0`\n- `enterprise_linux = 7.0`\n- `enterprise_linux = 8.0`\n- `enterprise_linux = 9.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}