CVE-2021-3982 Privilege escalation in gnome-shell

Medium 5.5 Published Updated

Low-privilege attackers can exploit CAP_SYS_NICE in gnome-shell to escalate privileges and cause denial of service on Linux systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3982?

CVE-2021-3982 is a medium-severity vulnerability in gnome-shell, published on 29 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-273

Which versions are affected by CVE-2021-3982?

It affects 1 product.

Products include Gnome Gnome-Shell.

How do I fix CVE-2021-3982?

Apply the vendor's patch.

Is CVE-2021-3982 being exploited?

There is no known exploitation of CVE-2021-3982 in the wild and no public exploit code.

Sources

Also known as GHSA-w69m-w3gr-72pp, MGASA-2022-0007, UBUNTU-CVE-2021-3982.

Is CVE-2021-3982 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free