Descrizione
A flaw was found in the grub2-set-bootflag utility of grub2. After the fix of CVE-2019-14865, grub2-set-bootflag will create a temporary file with the new grubenv content and rename it to the original grubenv file. If the program is killed before the rename operation, the temporary file will not be removed and may fill the filesystem when invoked multiple times, resulting in a filesystem out of free inodes or blocks.
Tipo di vulnerabilità
CWE-459
Incomplete Cleanup
The product does not properly clean up and remove temporary or supporting resources after they have been used.
Impatto sui sistemi
| Ambito | Impatto |
| Altro, Riservatezza, Integrità |
Altro, Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Interruzione del servizio: esaurimento di risorse |
Come si previene
Architettura e progettazione · Sviluppo
Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.
Tutte le 255 CVE di tipo CWE-459, con andamento e prevenzione