Skip to content
OpenAdvisories
Medium · 6.8 CVE-2021-31998 EUVD-2021-18869GHSA-rqpg-j7j6-g58g

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

Published Jun 10, 2021 · Updated Sep 16, 2024 · Assigned by suse

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 products

VendorProductAffectedFixed
SUSE SUSE Linux Enterprise Server 11-SP3 inn – ≤ inn-2.4.2-170.21.3.1 —
openSUSE openSUSE Backports SLE-15-SP2 inn – < 2.6.2 2.6.2
openSUSE openSUSE Leap 15.2 inn – < 2.6.2 2.6.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 inn2 No fix yet —
Ubuntu 26.04 LTS inn2 No fix yet —
Ubuntu 25.10 inn2 No fix yet —
Ubuntu 24.04 LTS inn2 No fix yet —
Ubuntu 22.04 LTS inn2 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS inn2 No fix yet —
Ubuntu 18.04 LTS inn2 No fix yet —
Ubuntu 16.04 LTS inn2 No fix yet —
ReleasePackageFixed inAdvisory
SLES 11 SP4 inn 2.4.2-170.21.3.6.1 SUSE-SU-2021:14750-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 inn 2.6.2-bp152.2.8.1 openSUSE-SU-2021:0845-1
SUSE Linux Enterprise Point of Sale 11 SP3 inn 2.4.2-170.21.3.6.1 SUSE-SU-2021:14750-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 inn 2.6.2-lp152.2.6.1 openSUSE-SU-2021:0830-1

Advisories 3

References