Descrizione
A vulnerability in the GRUB2 bootloader has been identified in the normal module. This flaw, a memory Use After Free issue, occurs because the normal_exit command is not properly unregistered when its related module is unloaded. An attacker can exploit this condition by invoking the command after the module has been removed, causing the system to improperly access a previously freed memory location. This leads to a system crash or possible impacts in data confidentiality and integrity.
Tipo di vulnerabilità
CWE-825
Expired Pointer Dereference
The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria |
| Disponibilità |
Interruzione del servizio: arresto o riavvio |
| Integrità, Riservatezza, Disponibilità |
Eseguire codice o comandi non autorizzati |
Come si previene
Architettura e progettazione
Choose a language that provides automatic memory management.
Sviluppo
When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Tutte le 36 CVE di tipo CWE-825, con andamento e prevenzione