LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a local privilege escalation in openSUSE Tumbleweed's keylime package. A flaw in the package's %post scriptlet could let someone already operating as the keylime user gain root privileges. It is not described as remotely exploitable.

Executive priority

Prioritize remediation on openSUSE Tumbleweed hosts where keylime is installed, especially systems with broader local user access. This is not a remote internet-facing bug, but root escalation can materially worsen an existing foothold.

Technical view

CVE-2022-31250 is a CWE-59 symlink-following issue in keylime on openSUSE Tumbleweed before 6.4.2-1.1. The CVSS 3.1 vector is local, low complexity, low privileges, no user interaction, with high confidentiality and integrity impact.

Likely exposure

Exposure appears limited to openSUSE Tumbleweed systems with vulnerable keylime versions prior to 6.4.2-1.1. The attacker needs local access and privileges as the keylime user.

Exploitation context

The source bundle does not confirm active exploitation, and the CVE is not listed as KEV. The risk is serious where local account compromise or service abuse could place an attacker in the keylime user context.

Researcher notes

Evidence supports a local symlink-following flaw in keylime packaging behavior, specifically the %post scriptlet. Public details in the bundle are sparse; avoid assuming exploit availability or affected distributions beyond openSUSE Tumbleweed.

Mitigation direction

  • Upgrade keylime on openSUSE Tumbleweed to version 6.4.2-1.1 or later.
  • Check SUSE guidance for any additional package-specific remediation.
  • Restrict access paths that can execute code as the keylime user.
  • Review local account and service permissions around keylime deployments.

Validation and detection

  • Inventory openSUSE Tumbleweed hosts running keylime.
  • Confirm installed keylime versions are 6.4.2-1.1 or later.
  • Review package update history for vulnerable installations.
  • Check whether any services or users can operate as the keylime account.
  • Monitor for suspicious privilege changes from the keylime user to root.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-59: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31250 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N1.85.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.1High
CVSS 3.1 vector shape for CVE-2022-31250Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
openSUSETumbleweedkeylimeListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-59 · source CWE mapping

Improper Link Resolution Before File Access ('Link Following')

Improper Link Resolution Before File Access ('Link Following') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.