CVE-2021-20315
gnome-shell: locking protection bypass allow unauthorized user to kill existing applications or start new ones
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 31, 2021
Updated · November 22, 2025
Description
A locking protection bypass flaw was found in some versions of gnome-shell as shipped within CentOS Stream 8, when the "Application menu" or "Window list" GNOME extensions are enabled. This flaw allows a physical attacker who has access to a locked system to kill existing applications and start new ones as the locked user, even if the session is still locked.
Statement
The flaw only affects some specific versions of CentOS Stream 8. This issue did not affect the versions of gnome-shell as shipped with Red Hat Enterprise Linux 7, and 8 as they did not include the vulnerable code.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Disable enabled GNOME extensions, such as "Application menu" or "Window list".
CVSS / CWE
CVSS 3.1 · 5.7CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
CWE-667 · Improper Locking