{"api_version":"1","generated_at":"2026-04-23T01:19:10+00:00","cve":"CVE-2021-3982","urls":{"html":"https://cve.report/CVE-2021-3982","api":"https://cve.report/api/cve/CVE-2021-3982.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3982","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3982"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-04-29 17:15:00","updated_at":"2023-02-03 01:57:00"},"problem_types":["CWE-273"],"metrics":[],"references":[{"url":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284","name":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284","refsource":"MISC","tags":[],"title":"Reevaluate usage of CAP_SYS_NICE (conflicts with AT_SECURE checks) (#2284) · Issues · GNOME / gnome-shell · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024174","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2024174","refsource":"MISC","tags":[],"title":"2024174 – (CVE-2021-3982) CVE-2021-3982 gnome-shell: Distributions using CAP_SYS_NICE in gnome-shell may be exposed to privilege escalation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4711","name":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4711","refsource":"MISC","tags":[],"title":"New Security Issue: CAP_SYS_NICE use (#4711) · Issues · GNOME / gnome-shell · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060","name":"https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060","refsource":"MISC","tags":[],"title":"backends/native: Use rtkit to get realtime priority (!2060) · Merge requests · GNOME / mutter · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3982","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3982","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3982","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnome","cpe5":"gnome-shell","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3982","qid":"282203","title":"Fedora Security Update for gnome (FEDORA-2021-dd7960de3c)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-3982","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-273","cweId":"CWE-273"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"gnome-shell","version":{"version_data":[{"version_affected":"=","version_value":"gnome-shell downstream versions using CAP_SYS_NICE"}]}}]}}]}},"references":{"reference_data":[{"url":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284","refsource":"MISC","name":"https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284"},{"url":"https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060","refsource":"MISC","name":"https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2060"}]}},"nvd":{"publishedDate":"2022-04-29 17:15:00","lastModifiedDate":"2023-02-03 01:57:00","problem_types":["CWE-273"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnome:gnome-shell:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3982","Ordinal":"221672","Title":"CVE-2021-3982","CVE":"CVE-2021-3982","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3982","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}