Name | CVE-2021-3981 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1001414 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
grub2 (PTS) | jessie, jessie (lts) | 2.02~beta2-22+deb8u2 | fixed |
stretch (lts), stretch | 2.02~beta3-5+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 2.06-3~deb10u4 | vulnerable | |
bullseye (security), bullseye | 2.06-3~deb11u6 | vulnerable | |
bookworm (security), bookworm | 2.06-13+deb12u1 | fixed | |
sid, trixie | 2.12-5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
grub2 | source | jessie | (not affected) | |||
grub2 | source | stretch | (not affected) | |||
grub2 | source | (unstable) | 2.06-8 | 1001414 |
[bullseye] - grub2 <no-dsa> (Minor issue)
[buster] - grub2 <no-dsa> (Minor issue)
[stretch] - grub2 <not-affected> (Vulnerable code introduced later)
https://bugzilla.redhat.com/show_bug.cgi?id=2024170
Introduced by: https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=ab2e53c8a196a595e50f1c836bf756b9db1ae68d (grub-2.06-rc1)
https://lists.gnu.org/archive/html/grub-devel/2021-12/msg00013.html
Fixed by: https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=0adec29674561034771c13e446069b41ef41e4d4
[jessie] - grub2 <not-affected> (Vulnerable code introduced later)