{"id":"CVE-2024-1048","aliases":["CVE-2024-1048"],"related":[],"kind":"vulnerability","state":"published","title":"Grub2: grub2-set-bootflag can be abused by local (pseudo-)users","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en la utilidad grub2-set-bootflag de grub2. Después de la corrección de CVE-2019-14865, grub2-set-bootflag creará un archivo temporal con el nuevo contenido de grubenv y le cambiará el nombre al archivo grubenv original. Si el programa se elimina antes de la operación de cambio de nombre, el archivo temporal no se eliminará y puede llenar el sistema de archivos cuando se invoque varias veces, lo que resultará en un sistema de archivos sin inodos o bloques libres.","source":"nvd"}],"published":"2024-02-06T17:30:35.360Z","modified":"2026-11-05T12:17:46.710Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"0","fixed":"*","status":"unaffected"}],"package":"grub2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.02-156.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"grub2","cpe":"cpe:/o:redhat:enterprise_linux:8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:2.06-77.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"grub2","cpe":"cpe:/o:redhat:enterprise_linux:9::baseos","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"grub","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"grub2","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"gnu","product":"grub2","cpe":"cpe:2.3:a:gnu:grub2:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"40"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2456","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3184","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-1048","tags":["vdb-entry","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2256827","tags":["issue-tracking","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2024/02/06/3","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/06/3","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XRZQCVZ3XOASVFT6XLO7F2ZXOLOHIJZQ/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YSJAEGRR3XHMBBBKYOVMII4P34IXEYPE/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240223-0007/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Solar Designer (CIQ/Rocky Linux) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-26T20:13:20.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-1048","url":"https://www.cve.org/CVERecord?id=CVE-2024-1048","licence":"CVE Terms of Use","modified":"2026-11-05T11:40:00.674Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-1048","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1048","licence":"Public domain","modified":"2026-11-05T12:17:46.710Z"}],"updatedAt":"2026-11-25T22:58:36.617Z","epss":{"score":0.00309,"percentile":0.25637,"date":"2026-12-01T12:00:22.000Z"}}