Vulnerabilities · 2021 · Gnu
CVE-2021-3981
Gnu Grub2 vulnerability
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 products
Grub2, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Grub2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=2024170 · Patch
- security.gentoo.org/glsa/202209-12 · Third Party Advisory
- www.openwall.com/lists/oss-security/2024/01/15/3
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A
- nvd.nist.gov/vuln/detail/CVE-2021-3981
- cve.org/CVERecord?id=CVE-2021-3981
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.