CVE Vulnerabilities

CVE-2024-1048

Incomplete Cleanup

Published: Feb 06, 2024 | Modified: Nov 21, 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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Grub2Gnu- (including)- (including)
Red Hat Enterprise Linux 8RedHatgrub2-1:2.02-156.el8*
Red Hat Enterprise Linux 9RedHatgrub2-1:2.06-77.el9*
Grub2Ubuntubionic*
Grub2Ubuntutrusty*
Grub2Ubuntuxenial*
Grub2-signedUbuntubionic*
Grub2-signedUbuntutrusty*
Grub2-signedUbuntuxenial*
Grub2-unsignedUbuntubionic*
Grub2-unsignedUbuntutrusty*
Grub2-unsignedUbuntuxenial*

Potential Mitigations

References