CVE-2021-31998

inn: %post calls user owned file allowing local privilege escalation to root

HIGH
7.8
CVSS Score
Published: June 10, 2021 at 11:25 AM UTC
Updated: June 17, 2026 at 03:52 AM UTC
4 products affected across 2 vendorsInnLeapLinux Enterprise Server

Using SUSE Linux Enterprise Server 11-SP3 by SUSE?

Get instant alerts when new vulnerabilities affect SUSE Linux Enterprise Server 11-SP3 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 2.4.2-170.21.3.1v < 2.6.2
Affected range stops below 2.6.2, so it looks safe — our inference, not a vendor statement
opensuse-backports-sle (environment) · opensuse-leap (environment) · suse-linux-enterprise-server (environment)
inn ≤ v < 2.6.2inn
Affected range stops below 2.6.2, so it looks safe — our inference, not a vendor statement
inn ≤ v < 2.6.2inn
Affected range stops below 2.6.2, so it looks safe — our inference, not a vendor statement
inn ≤ v ≤ inn-2.4.2-170.21.3.1inn

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMExploitIssue TrackingVendor Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1182321

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-276

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card