Every CVE Search/ Get API key

CVE-2021-3982

Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.29%Down 0.6 points since Apr 30, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2021-3982
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-273
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-3982
Weakness
CWE-273
Updated
2026-11-02
EUVDEUVD-2021-27183 No score

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.

Record
EUVD-2021-27183
Updated
2026-11-03
GitHub AdvisoriesGHSA-w69m-w3gr-72pp 5.5

Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation...

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.

Record
GHSA-w69m-w3gr-72pp
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-273
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3982 5.5

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.

Record
UBUNTU-CVE-2021-3982
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2022-0007 No score

Updated gnome-shell packages fix security vulnerability

Drop extra capabilities from gnome-shell. They're optional and they break shutdown from the login screen with new glibs. (CVE-2021-3982)

Record
MGASA-2022-0007
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gnome-shell
Mageia:8
before 3.38.3-2.1.mga8
3.38.3-2.1.mga8
gnome-shell
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.16.4-0ubuntu13.18.1-1ubuntu13.18.2-0ubuntu13.18.2-0ubuntu23.18.3-3ubuntu1
Show 7 moreShow less
3.18.4-0ubuntu13.18.4-0ubuntu23.18.4-0ubuntu33.18.5-0ubuntu0.13.18.5-0ubuntu0.23.18.5-0ubuntu0.33.18.5-0ubuntu0.3+esm1
None known

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3982 is a medium vulnerability (CVSS 5.5) in Gnome Gnome-shell, published January 5, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in gnome-shell 3.38.3-2.1.mga8.

References

Show 5 moreShow less
MoveEnter Open