Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-3981: Security patch for grub2 (ALAS-2022-1787)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI 2: CVE-2021-3981: Security patch for grub2 (ALAS-2022-1787)

Severity
2
CVSS
(AV:L/AC:L/Au:N/C:P/I:N/A:N)
Published
03/10/2022
Created
07/16/2022
Added
07/04/2022
Modified
02/14/2023

Description

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-grub2
  • amazon-linux-ami-2-upgrade-grub2-common
  • amazon-linux-ami-2-upgrade-grub2-debuginfo
  • amazon-linux-ami-2-upgrade-grub2-efi-aa64
  • amazon-linux-ami-2-upgrade-grub2-efi-aa64-cdboot
  • amazon-linux-ami-2-upgrade-grub2-efi-aa64-ec2
  • amazon-linux-ami-2-upgrade-grub2-efi-aa64-modules
  • amazon-linux-ami-2-upgrade-grub2-efi-x64
  • amazon-linux-ami-2-upgrade-grub2-efi-x64-cdboot
  • amazon-linux-ami-2-upgrade-grub2-efi-x64-ec2
  • amazon-linux-ami-2-upgrade-grub2-efi-x64-modules
  • amazon-linux-ami-2-upgrade-grub2-emu
  • amazon-linux-ami-2-upgrade-grub2-emu-modules
  • amazon-linux-ami-2-upgrade-grub2-pc
  • amazon-linux-ami-2-upgrade-grub2-pc-modules
  • amazon-linux-ami-2-upgrade-grub2-tools
  • amazon-linux-ami-2-upgrade-grub2-tools-efi
  • amazon-linux-ami-2-upgrade-grub2-tools-extra
  • amazon-linux-ami-2-upgrade-grub2-tools-minimal

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;