Incomplete Cleanup Affecting grub2-pc-modules package, versions <1:2.06-77.el9


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-RHEL9-GRUB2PCMODULES-6231002
  • published7 Feb 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 RHEL:9 grub2-pc-modules to version 1:2.06-77.el9 or higher.
This issue was patched in RHSA-2024:2456.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-pc-modules package and not the grub2-pc-modules package as distributed by RHEL. See How to fix? for RHEL: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 Scores

version 3.1