CVE-2024-1048
Rocky Linux vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-1048) was discovered in the grub2-set-bootflag utility of grub2. This flaw emerged after the fix of CVE-2019-14865, where grub2-set-bootflag creates a temporary file with new grubenv content and renames it to the original grubenv file. The vulnerability was discovered in February 2024 and affects various versions of grub2, particularly in Red Hat Enterprise Linux and Fedora distributions (OSS Security).

Technical details

The vulnerability occurs when the program is killed before the rename operation, causing the temporary file to remain unremoved. This can be triggered through various methods, including RLIMIT_FSIZE triggering SIGXFSZ or through careful timing of signals. The issue has been assigned a CVSS v3.1 Base Score of 3.3 (Low) with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L (Red Hat Advisory).

Impact

When exploited, this vulnerability can lead to filesystem resource exhaustion. Multiple invocations of the program can fill up the /boot partition (or root filesystem if /boot is not separate) with temporary files. Since these files are small, the filesystem is likely to run out of free inodes before running out of blocks, preventing the creation of new files while still allowing data addition to existing files (OSS Security).

Mitigation and workarounds

Patches have been released to address this vulnerability in various distributions. Red Hat has released security updates RHSA-2024:2456 for RHEL 9 and RHSA-2024:3184 for RHEL 8. Fedora has also released updates (grub2-2.06-118.fc39 for Fedora 39 and grub2-2.06-116.fc38 for Fedora 38). The fixes include changes to prevent temporary file accumulation and RLIMIT_NPROC bypass (Red Hat Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Rocky Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13699HIGH7
  • MariaDB ServerMariaDB Server
  • mariadb-devel:10.3::mariadb-embedded
NoYesDec 23, 2025
CVE-2025-43541MEDIUM4.3
  • Apple SafariApple Safari
  • webkit2gtk3-minibrowser
NoYesDec 17, 2025
CVE-2025-43536MEDIUM4.3
  • Apple SafariApple Safari
  • libwebkit2gtk-4_0-37-32bit
NoYesDec 17, 2025
CVE-2025-43535MEDIUM4.3
  • Apple SafariApple Safari
  • webkit2gtk3-debuginfo
NoYesDec 17, 2025
CVE-2025-61594LOW2.7
  • RubyRuby
  • ruby-libs
NoYesDec 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management