Name | CVE-2021-31523 |
Description | The Debian xscreensaver 5.42+dfsg1-1 package for XScreenSaver has cap_net_raw enabled for the /usr/libexec/xscreensaver/sonar file, which allows local users to gain privileges because this is arguably incompatible with the design of the Mesa 3D Graphics library dependency. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
Debian Bugs | 987149 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
xscreensaver (PTS) | buster | 5.42+dfsg1-1 | fixed |
bullseye | 5.45+dfsg1-2 | fixed | |
bookworm, sid | 6.02+dfsg1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
xscreensaver | source | stretch | (not affected) | |||
xscreensaver | source | buster | (not affected) | |||
xscreensaver | source | (unstable) | 5.45+dfsg1-2 | 987149 |
[buster] - xscreensaver <not-affected> (Vulnerability introduced later)
[stretch] - xscreensaver <not-affected> (Vulnerability introduced later)
Fixed upstream in 6.00 (no public version control): https://twitter.com/jwz/status/1383503845217554444
https://www.openwall.com/lists/oss-security/2021/04/17/1
https://bugs.chromium.org/p/project-zero/issues/detail?id=2174
Only in 5.44+dfsg1-1 net_raw capability was added to sonar executable via postinst
and so exposing the vulnerability.