CVEfocus › CVE database › CVE-2021-31998

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

CVSS 6.8 MediumEPSS 0.3% (higher than 25% of CVEs)Published 2021-06-10Updated 2024-09-16Assigner: suse

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.

CWE-276

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10inn2Fix pendingUBUNTU-CVE-2021-31998
Ubuntu 26.04inn2Under investigationUBUNTU-CVE-2021-31998
Ubuntu 25.10inn2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-31998
Ubuntu 24.04inn2Under investigationUBUNTU-CVE-2021-31998
Ubuntu 22.04inn2Under investigationUBUNTU-CVE-2021-31998
Ubuntu 20.04inn2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-31998
Ubuntu 18.04inn2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-31998
Ubuntu 16.04inn2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-31998
Ubuntu 14.04inn2Will not fix
Ubuntu decided not to fix this in this release

What the vendor says

As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.