VDB

CVE-2021-31998

CVE-2021-31998 PUBLISHED CVSS 6.8 MEDIUM

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

Reported by suse · Published June 10, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openSUSE Backports SLE-15-SP2openSUSE2.6.2
innopensuse2.6.2, 2.4.2-170.21.3.1
openSUSE Leap 15.2openSUSE2.6.2
SUSE Linux Enterprise Server 11-SP3SUSEinn-2.4.2-170.21.3.1

Risk scores

CVSS 3.1
6.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected products

VendorProductVersions
SUSESUSE Linux Enterprise Server 11-SP3inn
openSUSEopenSUSE Backports SLE-15-SP2inn
openSUSEopenSUSE Leap 15.2inn
openSUSEopenSUSE Backports SLE-15-SP2*
SUSESUSE Linux Enterprise Server 11-SP3*
openSUSEopenSUSE Leap 15.2*

Timeline

  • Jun 3, 2021 CVE Published
  • Jun 11, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 4, 2026 Security Advisory (3 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-31998
vulnetix vdb fixes CVE-2021-31998

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-31998/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›