7.8

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

Modified
AliasesSUSE-SU-2021:14750-1openSUSE-SU-2021:0845-1UBUNTU-CVE-2021-31998
Published 10-06-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-31998 is a high (CVSS 7.8) Incorrect Default Permissions vulnerability in opensuse inn. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Timeline

  1. 10-06-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugzilla.suse.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse4 products
Suse4 products
  • inn&distro=SUSE Linux Enterprise Point of Sale 11 SP3< 2.4.2-170.21.3.6.1
  • inn&distro=SUSE Linux Enterprise Server 11 SP4-LTSS< 2.4.2-170.21.3.6.1
  • inn&distro=SUSE Package Hub 15 SP2< 2.6.2-bp152.2.8.1
  • suse linux enterprise server 11-sp3≥ inn, ≤ inn-2.4.2-170.21.3.1
Ubuntu1 product
  • inn2All versions (No fix recorded)

3 vendors · 9 products

References

8 links