Skip to main content
CVE-2024-1048VulnerabilityPublished Updated

CVE-2024-1048: Incomplete Cleanup

Source CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 3.3 Low.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
3.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

To mitigate CVE-2024-1048, organizations should ensure that grub2-set-bootflag processes are allowed to complete without interruption, avoiding forced termination or system shutdowns during its execution. Implement monitoring scripts to detect and clean up orphaned temporary files created by grub2-set-bootflag, preventing filesystem resource exhaustion. System administrators should regularly check filesystem inode and disk usage, especially on partitions containing grubenv files. Applying any available patches or updates from Linux distribution vendors addressing this issue is recommended once released. Additionally, restricting local user privileges to only trusted administrators reduces the risk of exploitation. In automated environments, incorporate error handling and retries to minimize incomplete executions of grub2-set-bootflag. Finally, maintaining robust backup and recovery procedures ensures rapid restoration if filesystem exhaustion occurs.

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.

References

Community reviews

Loading reviews…