CVE-2024-1048
Grub2: grub2-set-bootflag can be abused by local (pseudo-)users
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 8 days later
· 8 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Modified | 3.1 | Low3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.3.
Weakness
Affected products
grub2
- unaffected < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 1:2.02-156.el8 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 1:2.06-77.el9 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
References (9)
- RHSA-2024:2456 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3184 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2024-1048 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2256827 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://www.openwall.com/lists/oss-security/2024/02/06/3 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/02/06/3 (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XRZQCVZ3XOASVFT6XLO7F2ZXOLOHIJZQ/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YSJAEGRR3XHMBBBKYOVMII4P34IXEYPE/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240223-0007/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-1048)Record last updated .