CWE
120
Advisory Published
CVE Published
Updated

CVE-2024-45782: Grub2: fs/hfs: strcpy() using the volume name (fs/hfs.c:382)

First published: Fri Feb 14 2025(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
CentOS Grub2-pc-modules

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-45782?

    CVE-2024-45782 is classified as a high severity vulnerability due to its potential to lead to heap-based memory corruption.

  • How do I fix CVE-2024-45782?

    To fix CVE-2024-45782, update your GNU Grub2 software to the latest version that addresses this vulnerability.

  • What systems are affected by CVE-2024-45782?

    CVE-2024-45782 primarily affects systems running the GNU Grub2 filesystem driver for HFS.

  • What type of vulnerability is CVE-2024-45782?

    CVE-2024-45782 is a heap-based buffer overflow vulnerability resulting from improper validation of user inputs.

  • Can CVE-2024-45782 be exploited remotely?

    Yes, CVE-2024-45782 can potentially be exploited remotely if an attacker can manipulate the volume names passed to the HFS filesystem driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203