CVE-2021-3982
gnome-shell: Distributions using CAP_SYS_NICE in gnome-shell may be exposed to privilege escalation
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 24, 2021
Updated · November 22, 2025
Description
Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation issue. An attacker, with low privilege permissions, may take advantage of the way CAP_SYS_NICE is currently implemented and eventually load code to increase its process scheduler priority leading to possible DoS of other services running in the same machine.
Statement
The package gnome-shell as shipped with Red Hat Enterprise Linux 7 and 8 are not affected by this issue as CAP_SYS_NICE capability is not set on both versions.
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
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-273 · Improper Check for Dropped Privileges