CVE-2025-0677

Vulnérabilité moyenne

CVSS 6.4 · Moyenne
EPSS 0.3%
•Versions : 1:2.12-15.el10_0, <=2.12, 0, <*, 1:2.06-104.el9_6

Description

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.

Gravité et risque d'exploitation

CVE-2025-0677 obtient un score CVSS de 6.4/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.33 %, ce qui la place devant 24.5 % des CVE référencées.

Que faire ?

  • Vérifiez si le produit concerné (versions 1:2.12-15.el10_0, <=2.12, 0, <*, 1:2.06-104.el9_6) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références