{"id":"CVE-2021-3982","aliases":["EUVD-2021-27183","GHSA-w69m-w3gr-72pp","MGASA-2022-0007","UBUNTU-CVE-2021-3982"],"status":"published","title":"Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation...","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00289,"percentile":0.21741,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-273"],"published":"2022-01-05T22:45:33Z","modified":"2026-06-17T04:06:20Z","fixes":[{"ecosystem":"Mageia:8","package":"gnome-shell","fixed_in":["3.38.3-2.1.mga8"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:8","package":"gnome-shell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.38.3-2.1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gnome-shell","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"]}],"products":[{"vendor":"gnome","product":"gnome-shell"},{"vendor":"the gnome project","product":"gnome-shell"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3982"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024174"},{"url":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4711"},{"url":"https://github.com/advisories/GHSA-w69m-w3gr-72pp"},{"url":"https://advisories.mageia.org/MGASA-2022-0007.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29825","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/SCLTOBHCAJ5W2MER2M53HAM2IBEBL2AC/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-3982","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3982","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-3982","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.","status":"published","published":"2022-04-29T00:00:00Z","modified":"2024-08-03T17:09:09.635Z","cwes":["CWE-273"],"updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2021-27183","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.","status":"published","published":"2022-04-29T00:00:00Z","modified":"2024-08-03T17:09:09Z","updated_at":"2026-11-03T03:25:11.376657Z"}],"ghsa":[{"id":"GHSA-w69m-w3gr-72pp","title":"Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation...","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.","status":"published","published":"2022-04-30T00:00:35Z","modified":"2023-01-31T05:05:25Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-273"],"updated_at":"2026-11-02T14:48:50.987758Z"}],"nvd":[{"id":"CVE-2021-3982","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.","status":"published","published":"2022-04-29T17:15:19.927Z","modified":"2026-06-17T04:06:20.23Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-273"],"updated_at":"2026-11-02T14:07:06.029737Z"}],"osv":[{"id":"UBUNTU-CVE-2021-3982","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.","status":"published","published":"2022-04-29T17:15:00Z","modified":"2025-09-08T16:46:50Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"MGASA-2022-0007","title":"Updated gnome-shell packages fix security vulnerability","description":"Drop extra capabilities from gnome-shell. They're optional and they break\nshutdown from the login screen with new glibs. (CVE-2021-3982)\n","status":"published","published":"2022-01-05T22:45:33Z","modified":"2026-04-16T04:41:17.78798198Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
