CVE-2021-31998 json
inn: %post calls user owned file allowing local privilege escalation to root
published 5y ago modified 4mo ago also EUVD-2021-18869
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openSUSE openSUSE Backports SLE-15-SP2 2.6.2
- openSUSE openSUSE Leap 15.2 2.6.2
- inn SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.4.2-170.21.3.6.1
suse advisories SUSE-SU-2021:14750-1
- inn Package Hub 15 SP2 2.6.2-bp152.2.8.1
- inn openSUSE Leap 15.2 2.6.2-lp152.2.6.1
opensuse advisories openSUSE-SU-2021:0845-1openSUSE-SU-2021:0830-1
Is CVE-2021-31998 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1182321 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- SUSE SUSE Linux Enterprise Server 11-SP3
- openSUSE openSUSE Backports SLE-15-SP2
- openSUSE openSUSE Leap 15.2
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
bugzilla.suse.com
/show_bug.cgi?id=1182321
exploit, issue-tracking, vendor-advisory
Sources
- CVE List CVE-2021-31998
- NVD CVE-2021-31998
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.