CVE-2021-31998
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openSUSE Backports SLE-15-SP2 | openSUSE | 2.6.2 |
| inn | opensuse | 2.6.2, 2.4.2-170.21.3.1 |
| openSUSE Leap 15.2 | openSUSE | 2.6.2 |
| SUSE Linux Enterprise Server 11-SP3 | SUSE | inn-2.4.2-170.21.3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SUSE | SUSE Linux Enterprise Server 11-SP3 | inn |
| openSUSE | openSUSE Backports SLE-15-SP2 | inn |
| openSUSE | openSUSE Leap 15.2 | inn |
| openSUSE | openSUSE Backports SLE-15-SP2 | * |
| SUSE | SUSE Linux Enterprise Server 11-SP3 | * |
| openSUSE | openSUSE 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