Incomplete Cleanup Affecting grub2-common package, versions <1:2.06-14.amzn2.0.3


Severity

Recommended
0.0
low
0
10

Based on Amazon 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-AMZN2-GRUB2COMMON-6457666
  • published19 Mar 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 Amazon-Linux:2 grub2-common to version 1:2.06-14.amzn2.0.3 or higher.
This issue was patched in ALAS2-2024-2499.

NVD Description

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