Incorrect Default Permissions Affecting grub2-efi-x64 package, versions <1:2.02-123.el8
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-GRUB2EFIX64-1973552
- published 20 Nov 2021
- disclosed 17 Nov 2021
Introduced: 17 Nov 2021
CVE-2021-3981 Open this link in a new tabHow to fix?
Upgrade Centos:8 grub2-efi-x64 to version 1:2.02-123.el8 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream grub2-efi-x64 package and not the grub2-efi-x64 package as distributed by Centos.
See How to fix? for Centos:8 relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2021-3981
- https://access.redhat.com/errata/RHSA-2022:2110
- https://bugzilla.redhat.com/show_bug.cgi?id=2024170
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AI776L35DDYPCSAAJPJM3ZEQYSFZHBJX/
- https://security.gentoo.org/glsa/202209-12
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AI776L35DDYPCSAAJPJM3ZEQYSFZHBJX/
- http://www.openwall.com/lists/oss-security/2024/01/15/3