CVE-2021-3982

NameCVE-2021-3982
DescriptionLinux 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnome-shell (PTS)jessie3.14.4-1~deb8u1vulnerable
stretch (security), stretch (lts), stretch3.22.3-3+deb9u1fixed
buster3.30.2-11~deb10u2fixed
bullseye (security), bullseye3.38.6-1~deb11u2fixed
bookworm (security), bookworm43.9-0+deb12u2fixed
sid, trixie47.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnome-shellsourcejessie(unfixed)end-of-life
gnome-shellsource(unstable)(not affected)

Notes

- gnome-shell <not-affected> (Debian packaging does not set cap_sys_nice+ep on gnome-shell binary)
https://bugzilla.redhat.com/show_bug.cgi?id=2024174
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4711
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284

Search for package or bug name: Reporting problems