{"id":"UBUNTU-CVE-2021-3982","details":"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.","modified":"2025-09-08T16:46:50Z","published":"2022-04-29T17:15:00Z","upstream":["CVE-2021-3982"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3982"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3982"}],"affected":[{"package":{"name":"gnome-shell","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gnome-shell@3.18.5-0ubuntu0.3+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.4-0ubuntu1","3.18.1-1ubuntu1","3.18.2-0ubuntu1","3.18.2-0ubuntu2","3.18.3-3ubuntu1","3.18.4-0ubuntu1","3.18.4-0ubuntu2","3.18.4-0ubuntu3","3.18.5-0ubuntu0.1","3.18.5-0ubuntu0.2","3.18.5-0ubuntu0.3","3.18.5-0ubuntu0.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.18.5-0ubuntu0.3+esm1","binary_name":"gnome-shell"},{"binary_version":"3.18.5-0ubuntu0.3+esm1","binary_name":"gnome-shell-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3982.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}