grub2: CVE-2021-3981: Incorrect permission in grub.cfg allow unprivileged user to read the file content

Related Vulnerabilities: CVE-2021-3981  

Debian Bug report logs - #1001414
grub2: CVE-2021-3981: Incorrect permission in grub.cfg allow unprivileged user to read the file content

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 9 Dec 2021 20:03:02 UTC

Severity: important

Tags: security, upstream

Found in version grub2/2.06-2

Forwarded to https://lists.gnu.org/archive/html/grub-devel/2021-12/msg00013.html

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>:
Bug#1001414; Package src:grub2. (Thu, 09 Dec 2021 20:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>. (Thu, 09 Dec 2021 20:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub2: CVE-2021-3981: Incorrect permission in grub.cfg allow unprivileged user to read the file content
Date: Thu, 09 Dec 2021 21:01:13 +0100
Source: grub2
Version: 2.06-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for grub2.

CVE-2021-3981[0]:
| Incorrect permission in grub.cfg allow unprivileged user to read the
| file content

It was only introduced with [1] and patch upstream is in [2].

When the config contains "^password" then the grub.cfg would need to
be created with stricter permissions.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-3981
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3981
[1] https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=ab2e53c8a196a595e50f1c836bf756b9db1ae68d
[2] https://lists.gnu.org/archive/html/grub-devel/2021-12/msg00013.html
[3] https://bugzilla.redhat.com/show_bug.cgi?id=2024170

Regards,
Salvatore



Set Bug forwarded-to-address to 'https://lists.gnu.org/archive/html/grub-devel/2021-12/msg00013.html'. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Thu, 09 Dec 2021 20:09:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Dec 10 14:39:47 2021; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.