1. Home
  2. Vulnerabilities
  3. CVE-2021-3981

CVE-2021-3981

A flaw in grub2 was found where its configuration file, known as grub.cfg, is being created with the wrong…

Published 10 Mar 2022 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 20/100

Summary

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 and versions

Fedoraproject (1 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 34 — NVD
Gnu (1 line(s))
Gnu
ProductVersionsFixed inSource
Grub2 up to 2.06 (included) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, NVD)
Weakness
CWE-276 · Autre (CWE-276)

How this data is obtained and calculated