CVE-2024-1048

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

State
Published
Severity
3.3 Low
Published
Feb 6, 2024
Updated
Nov 20, 2025
Reserved
Jan 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Lredhat

Weaknesses

Affected Products

ProductVersions
grub2
  • all versionsNot affectedfrom 5425919Not affected
Red Hat Enterprise Linux 8Red Hat
  • 1:2.02-156.el8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 1:2.06-77.el9 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.