Incomplete Cleanup Affecting grub2-tools-extra package, versions <1:2.02-156.el8


Severity

Recommended
medium

Based on CentOS 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-CENTOS8-GRUB2TOOLSEXTRA-6231311
  • 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 Centos:8 grub2-tools-extra to version 1:2.02-156.el8 or higher.

NVD Description

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

version 3.1