CVE-2021-3982
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gnome-shell | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | gnome-shell | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | gnome-shell | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | gnome-shell | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | gnome-shell | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | gnome-shell | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | gnome-shell | Fix pending | UBUNTU-CVE-2021-3982 | |
| Ubuntu 14.04 | gnome-shell | Fix pending | ||
| Red Hat Enterprise Linux 9 | gnome-shell | Not affected | ||
| Red Hat Enterprise Linux 8 | gnome-shell | Not affected | ||
| Red Hat Enterprise Linux 7 | gnome-shell | Not affected | ||
| Red Hat Enterprise Linux 7 | gnome-shell-browser-plugin | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gnome-shell: affected: gnome-shell downstream versions using CAP_SYS_NICE
References
- https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284
- https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.