CVE-2024-1048

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

Published Feb 6, 2024 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-16824 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 11:40 AM
Reserved
Jan 29, 2024, 6:42 PM
Status
Modified
Published
Feb 6, 2024, 6:15 PM
Modified
Nov 5, 2026, 12:17 PM
Severity
Moderate
Public date
Feb 6, 2024, 12:00 AM