CWE
787 190
Advisory Published
CVE Published
Updated

CVE-2024-45780: Grub2: fs/tar: integer overflow causes heap oob write

First published: Fri Feb 14 2025(Updated: )

A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.

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-45780?

    CVE-2024-45780 has been rated as high severity due to the risk of integer overflow leading to potential arbitrary code execution.

  • How do I fix CVE-2024-45780?

    To fix CVE-2024-45780, update your GNU GRUB2 to the latest version that resolves this vulnerability.

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

    CVE-2024-45780 affects systems running GNU GRUB2, specifically those using the tar file reading functionality.

  • What are the consequences of exploiting CVE-2024-45780?

    Exploiting CVE-2024-45780 could lead to arbitrary code execution, potentially compromising the affected system.

  • Is there a workaround for CVE-2024-45780 if an update is not available?

    Currently, there are no reliable workarounds for CVE-2024-45780; updating to a patched version is strongly recommended.

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