CVE Vulnerabilities

CVE-2024-1048

Incomplete Cleanup

Published: Feb 06, 2024 | Modified: Sep 16, 2024
CVSS 3.x
3.3
LOW
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
RedHat/V2
RedHat/V3
3.3 MODERATE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

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.

Weakness

The product does not properly “clean up” and remove temporary or supporting resources after they have been used.

Affected Software

Name Vendor Start Version End Version
Grub2 Gnu - (including) - (including)
Red Hat Enterprise Linux 8 RedHat grub2-1:2.02-156.el8 *
Red Hat Enterprise Linux 9 RedHat grub2-1:2.06-77.el9 *
Grub2 Ubuntu bionic *
Grub2 Ubuntu trusty *
Grub2 Ubuntu xenial *
Grub2-signed Ubuntu bionic *
Grub2-signed Ubuntu trusty *
Grub2-signed Ubuntu xenial *
Grub2-unsigned Ubuntu bionic *
Grub2-unsigned Ubuntu trusty *
Grub2-unsigned Ubuntu xenial *

Potential Mitigations

References