cve.bz

CVE-2024-1048 Incomplete Cleanup

3.3 lowEPSS 0.3%Fix available

Low (3.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-459 Incomplete Cleanup
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-1048 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1048?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1048?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-1048 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 81:2.02-156.el8
Red Hat Enterprise Linux 91:2.06-77.el9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-156.el8RHSA-2024:3184
Red Hatenterprise_linux:9::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-77.el9RHSA-2024:2456
AlmaLinux8grub2-pc, grub2-tools, grub2-common and 15 more1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux9grub2-pc, grub2-tools, grub2-common and 12 more1:2.06-77.el9.alma.1ALSA-2024:2456
Rocky Linux8grub21:2.02-156.el8.rocky.0.1RLSA-2024:3184

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The grub2-set-bootflag utility is a command line tool to set a bootflag in the GRUB environment block. This is a downstream utility and is shipped only in Red Hat Enterprise Linux 8 and 9.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8grub2-1:2.02-156.el8Fixed 2024-05-22RHSA-2024:3184
Red Hat Enterprise Linux 9grub2-1:2.06-77.el9Fixed 2024-04-30RHSA-2024:2456
Red Hat Enterprise Linux 6grubNot affected
Red Hat Enterprise Linux 7grub2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-1048.

References

Check your stackJSON