Vulnerability in GNU Grub2
CVE-2021-3981
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.003 (22.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 22.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- GNU Grub2
- Fedoraproject Fedora — versions 34
- Grub2 — versions grub2 2.06 and previous versions
Weakness classification (CWE)
References
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- security.gentoo.org/glsa/202209-12 (vendor-advisory, Third Party Advisory)
- www.openwall.com/lists/oss-security/2024/01/15/3
Frequently asked questions
- What is CVE-2021-3981?
- CVE-2021-3981 is a low-severity vulnerability in GNU Grub2, classified under Incorrect Default Permissions. CVSS score: 3.3/10. Published 2022-03-10.
- How severe is CVE-2021-3981?
- Low severity. CVSS v3 base score is 3.3 out of 10.