CVE-2025-0690

Grub2: read: integer overflow may lead to out-of-bounds write

MEDIUM 6.1

En bref

Source
NVD
EPSS
EPSS 0.79 % · centile 56 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Deferred

Description

The read command is used to read the keyboard input from the user, while reads it keeps the input length in a 32-bit integer value which is further used to reallocate the line buffer to accept the next character. During this process, with a line big enough it's possible to make this variable to overflow leading to a out-of-bounds write in the heap based buffer. This flaw may be leveraged to corrupt grub's internal critical data and secure boot bypass is not discarded as consequence.

Faiblesses (CWE)

  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.1CVSS:3.1/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:Hredhat
CVSS 3.1MEDIUM 6.1CVSS:3.1/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
grub2affected 0 ≤ 2.12
Red Hat · Red Hat Enterprise Linux 9unaffected 1:2.06-104.el9_6 < *
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat OpenShift Container Platform 4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD