Vulnerability · Published Mar 8, 2022 · Assigned by redhat

CVE-2021-3981

Low 3.3

In plain English

A low-severity incorrect default permissions in grub2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)3.3Low
Exploit odds (30 days)0.3%top 75.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grub2-common1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-aa641:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-aa64-cdboot1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-aa64-modules1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-ia321:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-ia32-cdboot1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-ia32-modules1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-x641:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-x64-cdboot1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-efi-x64-modules1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-pc1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-pc-modules1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-ppc64le1:2.02-123.el8_6.8.almaALSA-2022:2110
AlmaLinux:8grub2-ppc64le-modules1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-tools1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-tools-efi1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-tools-extra1:2.02-123.el8.almaALSA-2022:2110
AlmaLinux:8grub2-tools-minimal1:2.02-123.el8.almaALSA-2022:2110
Debian:12grub22.06-8DEBIAN-CVE-2021-3981
Debian:13grub22.06-8DEBIAN-CVE-2021-3981
Debian:14grub22.06-8DEBIAN-CVE-2021-3981
Rocky Linux:8grub21:2.02-123.el8RLSA-2022:2110
Ubuntu:22.04:LTSgrub2-signed1.187.3~22.04.1USN-6355-1
Ubuntu:22.04:LTSgrub2-signed1.187.3~22.04.1UBUNTU-CVE-2021-3981
Ubuntu:22.04:LTSgrub2-unsigned2.06-2ubuntu14.1UBUNTU-CVE-2021-3981
Ubuntu:22.04:LTSgrub2-unsigned2.06-2ubuntu14.1USN-6355-1
Ubuntu:22.04:LTSshim15.7-0ubuntu1USN-6355-1
Ubuntu:22.04:LTSshim-signed1.51.3USN-6355-1

Affected products (as reported)

VendorProductVersions
n/a grub2 grub2 2.06 and previous versions

Weakness: CWE-276

References