CVE-2021-31523 Privilege escalation in n/a

High 7.8 Published Updated

Local attackers can escalate privileges due to excessive capabilities granted to the sonar binary in the Debian xscreensaver package.

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-31523?

CVE-2021-31523 is a high-severity vulnerability in n/a, published on 21 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-269

Which versions are affected by CVE-2021-31523?

It affects 1 product.

Products include Xscreensaver Project Xscreensaver.

How do I fix CVE-2021-31523?

Apply the vendor's patch.

Is CVE-2021-31523 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-31523, GHSA-74g6-fv7f-g2hq, UBUNTU-CVE-2021-31523.

Is CVE-2021-31523 in your software?

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

Check your SBOMs for free