CVE-2024-1048: Incomplete Cleanup
Source CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 3.3 Low.
Data as of 25 Oct 2026, 19:02 UTC
- 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:LExploitation evidence
Disclosed: evidence found.
CVE published 6 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
- access.redhat.com/errata/RHSA-2024:2456 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:3184 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-1048 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2256827 (opens in a new tab)
- openwall.com/lists/oss-security/2024/02/06/3 (opens in a new tab)
- openwall.com/lists/oss-security/2024/02/06/3 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XRZQCVZ3XOASVFT6XLO7F2ZXOLOHIJZQ/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YSJAEGRR3XHMBBBKYOVMII4P34IXEYPE/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20240223-0007/ (opens in a new tab)