CVE-2022-31250 keylime %post scriplet allows for privilege escalation from keylime user to root

High 7.1 Published Updated

Local attackers can escalate privileges from the keylime user to root via a symlink following vulnerability in the post-installation script.

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-2022-31250?

CVE-2022-31250 is a high-severity vulnerability in openSUSE Tumbleweed, published on 20 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A UNIX Symbolic Link (Symlink) Following vulnerability in keylime of openSUSE Tumbleweed allows local attackers to escalate from the keylime user to root. This issue affects: openSUSE Tumbleweed keylime versions prior to 6.4.2-1.1.

Weakness: CWE-59

Which versions are affected by CVE-2022-31250?

It affects 1 product.

Products include Opensuse Tumbleweed.

How do I fix CVE-2022-31250?

Upgrade to a fixed version.

Is CVE-2022-31250 being exploited?

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

Sources

Also known as GHSA-frfj-3v3x-pvwx, openSUSE-SU-2024:12153-1.

Is CVE-2022-31250 in your software?

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

Check your SBOMs for free