inn: %post calls user owned file allowing local privilege escalation to root
CVE-2021-31998

MonitorSensitive data exposure with local access.
6.8MEDIUM

Key facts

CVE-2021-31998 is a medium severity (CVSS 6.8) vulnerability in Suse openSUSE Backports SLE-15-SP2 and openSUSE Leap 15.2. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days. Fixed in openSUSE Backports SLE-15-SP2 2.6.2; openSUSE Leap 15.2 2.6.2.

How risky is it?

  • No: Needs local access
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version

Upgrade to one of these versions or later:

openSUSE Backports SLE-15-SP22.6.2
openSUSE Leap 15.22.6.2
Read the vendor advisory ↗
2Why it's rated "Monitor"
  • Its CVSS severity is medium (6.8).

What is CVE-2021-31998?

A Incorrect Default Permissions vulnerability in the packaging of inn of SUSE Linux Enterprise Server 11-SP3; openSUSE Backports SLE-15-SP2, openSUSE Leap 15.2 allows local attackers to escalate their privileges from the news user to root. This issue affects: SUSE Linux Enterprise Server 11-SP3 inn version inn-2.4.2-170.21.3.1 and prior versions. openSUSE Backports SLE-15-SP2 inn versions prior to 2.6.2. openSUSE Leap 15.2 inn versions prior to 2.6.2.

Affected Version(s)

openSUSE Backports SLE-15-SP2 inn < 2.6.2

openSUSE Leap 15.2 inn < 2.6.2

SUSE Linux Enterprise Server 11-SP3 inn

References

ServiceAccount Impersonation Flaw in Fleet by SUSE

CVE-2026-41050
SuseRancher9.9CRITICAL

Command Injection Vulnerability in NeuVector Enforcer by NeuVector

CVE-2025-54469
SuseNeuvector9.9CRITICAL
View more Suse vulnerabilities...

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Johannes Segitz of SUSE
.