CVE-2021-31523: Debian xscreensaver - Privilege Escalation
- Cve: CVE-2021-31523
- Name: Debian xscreensaver - Privilege Escalation
- 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.
- Impact: Local users can escalate privileges by exploiting the cap_net_raw capability on the sonar file.
- Remediation: Remove or disable cap_net_raw capability from /usr/libexec/xscreensaver/sonar.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local user access
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00318
- Epss percentile: 0.25013
- Assignee: [email protected]
- Published at: 2021-04-21T19:15:35Z
- Age in days: 2043
- Modified at: 2026-06-17T03:51:57Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31523
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-269 | Improper Privilege Management |
References
| Url | Source | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2021/04/21/3 | nvd | Mailing List, Patch, Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2021/04/17/1 | nvd | Mailing List, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xscreensaver_project:xscreensaver | = 5.42+dfsg1-1 | no | nvd | /v1/products/xscreensaver_project/xscreensaver |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts