Incomplete Cleanup Affecting grub2-tools-minimal package, versions <1:2.06-77.el9.alma.1


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-GRUB2TOOLSMINIMAL-6827942
  • published9 May 2024
  • disclosed30 Apr 2024

Introduced: 30 Apr 2024

CVE-2024-1048  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 grub2-tools-minimal to version 1:2.06-77.el9.alma.1 or higher.
This issue was patched in ALSA-2024:2456.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-tools-minimal package and not the grub2-tools-minimal package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1