Incomplete Cleanup Affecting grub2-efi-x64 package, versions <1:2.02-156.el8.rocky.0.1


Severity

Recommended
medium

Based on Rocky Linux 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-ROCKY8-GRUB2EFIX64-7258466
  • published15 Jun 2024
  • disclosed6 Feb 2024

Introduced: 6 Feb 2024

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

How to fix?

Upgrade Rocky-Linux:8 grub2-efi-x64 to version 1:2.02-156.el8.rocky.0.1 or higher.
This issue was patched in RLSA-2024:3184.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-efi-x64 package and not the grub2-efi-x64 package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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