Vulnerability record · CVE-2021-3981 · published 10 March 2022
CVE-2021-3981: Gnu grub2 incorrect default permissions vulnerability
Gnu · Grub2
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.
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2024/01/15/3 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024170 | Issue TrackingPatchThird Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AI776L35DDYPCSAAJPJM3ZE | |
| https://security.gentoo.org/glsa/202209-12 | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/01/15/3 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024170 | Issue TrackingPatchThird Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AI776L35DDYPCSAAJPJM3ZE | |
| https://security.gentoo.org/glsa/202209-12 | Third Party Advisory |
Track CVE-2021-3981 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3981), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.