CVE-2024-45777
JSON

6.7medium

Grub2: grub-core/gettext: integer overflow leads to heap oob write.

Severity
6.7medium CVSS:3.1 by redhat
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grub_gettext_getstr_from_position() may overflow, leading to a Out-of-bound write. This issue can be leveraged by an attacker to overwrite grub2's sensitive heap data, eventually leading to the circumvention of secure boot protections.

Affected

Product or packageVersionsReported by
grub2up to 2.12
Not affected: from 1:2.06-114.el9_7 before *
CVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
gnu grub2up to 2.12NVD
redhat openshift4.0NVD
redhat enterprise_linux7.0, 8.0, 9.0, 10.0NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grub_gettext_getstr_from_position() may overflow, leading to a Out-of-bound write. This issue can be leveraged by an attacker to overwrite grub2's sensitive heap data, eventually leading to the circumvention of secure boot protections.

NVD (es)

Se encontró un defecto en Grub2. El cálculo del búfer de traducción al leer un archivo .mo .mo en grub_gettext_getstr_from_position () puede desbordarse, lo que lleva a una escritura fuera de límite. Un atacante puede aprovechar este problema para sobrescribir los datos del montón confidenciales de Grub2, lo que eventualmente conduce a la elección de protecciones seguras de arranque.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-45777 changed 2026-11-24CVE Terms of Use
NVDCVE-2024-45777 changed 2026-11-24Public domain