CVE-2021-3981: fedoraproject fedora Incorrect Default Permissions
Vulnerability summary
CVE-2021-3981 is a low (CVSS 3.3) Incorrect Default Permissions vulnerability in fedoraproject fedora. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 08-03-2022PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
0.00 pp
From 0.32% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat25 products
- grub2< 1:2.02-123.el8
- grub2-common< 1:2.02-123.el8
- grub2-debuginfo< 1:2.02-123.el8
- grub2-debugsource< 1:2.02-123.el8
- grub2-efi-aa64< 1:2.02-123.el8
Ubuntu2 products
- grub2-signedAll versions (No fix recorded) | < 1.187.3~20.04.1 | < 1.187.3~22.04.1
- grub2-unsignedAll versions (No fix recorded) | < 2.06-2ubuntu14.1
Debian1 product
- grub2< 2.06-8
Fedoraproject1 product
- fedoraEOL34
Gnu1 product
- grub2≤ 2.06
Opensuse1 product
- grub2&distro=openSUSE Tumbleweed< 2.06-13.1
6 vendors · 31 products
References
23 links- bugzilla.redhat.com/show_bug.cgi?id=2024170X Refsource MISCREPORTIssue TrackingPatchThird Party Advisory