CVE-2021-3981: Low severity centos grub2-pc-modules vulnerability

Published Nov 17, 2021
·
Updated

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.

Other sources

GRUB2 grub.cfg configuration file is created with the wrong permission (0644) allowing unprivileged users to read grub's configuration file content. This presents a low Confidentiality risk as grub.cfg may contain encrypted passwords.

Red Hat

Affected Software

3 affected componentsFixes available
debian/grub2<=2.06-3~deb10u1, <=2.06-3~deb10u3, <=2.06-3~deb11u5, <=2.06-3~deb11u4
2.06-132.12~rc1-9
CentOS Grub2-pc-modules<=2.06
fedoraproject fedora=34

Event History

Nov 17, 2021
Data Sourced
via Red Hat·01:35 PM
DescriptionSeverityAffected Software
Mar 8, 2022
CVE Published
via MITRE·02:02 PM
Data Sourced
via MITRE·02:02 PM
DescriptionWeakness
Mar 10, 2022
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3981?

CVE-2021-3981 is a vulnerability in grub2 where its configuration file (grub.cfg) is created with the wrong permissions, allowing non-privileged users to read its content.

2

What is the severity of CVE-2021-3981?

CVE-2021-3981 has a low severity rating.

3

How can non-privileged users exploit CVE-2021-3981?

Non-privileged users can exploit CVE-2021-3981 by reading the content of the grub.cfg file, which may contain encrypted passwords.

4

How can I fix CVE-2021-3981?

To fix CVE-2021-3981, update the grub2 package to version 2.06-13 or 2.12~rc1-9, as recommended by Debian.

5

Where can I find more information about CVE-2021-3981?

You can find more information about CVE-2021-3981 on the MITRE CVE website, the Red Hat security website, and the NIST National Vulnerability Database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203