1. Accueil
  2. Vulnérabilités
  3. CVE-2025-0677

CVE-2025-0677

Grub2: ufs: integer overflow may lead to heap based out-of-bounds write when handling symlinks

Publiée le 19 févr. 2025 · modifiée le 24 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 33/100

Résumé

A flaw was found in grub2. When performing a symlink lookup, the grub's UFS module checks the inode's data size to allocate the internal buffer to read the file content, however, it fails to check if the symlink data size has overflown. When this occurs, grub_malloc() may be called with a smaller value than needed. When further reading the data from the disk into the buffer, the grub_ufs_lookup_symlink() function will write past the end of the allocated size. An attack can leverage this by crafting a malicious filesystem, and as a result, it will corrupt data stored in the heap, allowing for arbitrary code execution used to by-pass secure boot mechanisms.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (5 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Enterprise Linux 10 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 7 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenShift Container Platform 4 Versions non précisées — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:secalert@redhat.com)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données