- Accueil
- Vulnérabilités
- CVE-2025-0677
CVE-2025-0677
Grub2: ufs: integer overflow may lead to heap based out-of-bounds write when handling symlinks
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Références
- https://access.redhat.com/errata/RHSA-2025:16154vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:6990vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-0677vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2346116issue-tracking, x_refsource_REDHAT
- https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html
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