Incorrect Default Permissions Affecting grub2-efi-aa64-cdboot package, versions <1:2.06-9.amzn2.0.1


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 Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GRUB2EFIAA64CDBOOT-2805267
  • published28 Apr 2022
  • disclosed10 Mar 2022

Introduced: 10 Mar 2022

CVE-2021-3981  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 grub2-efi-aa64-cdboot to version 1:2.06-9.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1787.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-efi-aa64-cdboot package and not the grub2-efi-aa64-cdboot package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw in grub2 was found where its configuration file, known as grub.cfg, is being created with the wrong permission set allowing non privileged users to read its content. This represents a low severity confidentiality issue, as those users can eventually read any encrypted passwords present in grub.cfg. This flaw affects grub2 2.06 and previous versions. This issue has been fixed in grub upstream but no version with the fix is currently released.

CVSS Scores

version 3.1