Skip to content

CVE-2024-1048 Grub2: grub2-set-bootflag can be abused by local (pseudo-)users

LowCVSS 3.3 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
DebianRed Hat

Description

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.

Upgrade path

4 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
GNU grub2 All versions No fix listed No fix yet
redhat enterprise linux < 1:2.02-156.el8; < 1:2.06-77.el9; = 8.0; = 9.0 1:2.02-156.el8, 1:2.06-77.el9 Fixed
fedoraproject fedora = 40 No fix listed Versions listed
redhat rhel els = 6; = 7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat enterprise linux < 1:2.02-156.el8 1:2.02-156.el8
redhat enterprise linux < 1:2.06-77.el9 1:2.06-77.el9
redhat rhel els = 6 No fix listed
redhat rhel els = 7 No fix listed
GNU grub2 All versions No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
fedoraproject fedora = 40 No fix listed

References