{"schemaVersion":3,"id":"CVE-2021-31998","aliases":["SUSE-SU-2021:14750-1","openSUSE-SU-2021:0845-1","UBUNTU-CVE-2021-31998","openSUSE-SU-2021:0830-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-06-10T11:25:11.178Z","modified":"2024-09-16T22:40:51.163Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00318,"percentile":0.23231,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00318},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00318,"percentile":0.23231}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00318,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00318,"percentile":0.23231}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_5BD2D1365ED69E66","name":"Exploit Reference (bugzilla.suse.com)","source":"reference","url":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"}],"affected":[{"vendor":"ubuntu","product":"inn2","name":"inn2","label":"inn2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/inn2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"inn","name":"inn","label":"inn","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.4.2-170.21.3.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.4.2-170.21.3.1 | < 2.6.2","eol":null,"hubHref":"/vendor/opensuse/inn"},{"vendor":"opensuse","product":"opensuse backports sle-15-sp2","name":"openSUSE Backports SLE-15-SP2","label":"opensuse backports sle-15-sp2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ inn, < 2.6.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ inn, < 2.6.2","eol":null,"hubHref":"/vendor/opensuse/opensuse_backports_sle-15-sp2"},{"vendor":"opensuse","product":"opensuse leap 15.2","name":"openSUSE Leap 15.2","label":"opensuse leap 15.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ inn, < 2.6.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ inn, < 2.6.2","eol":null,"hubHref":"/vendor/opensuse/opensuse_leap_152"},{"vendor":"opensuse","product":"inn&distro=openSUSE Leap 15.2","name":"inn","label":"inn&distro=openSUSE Leap 15.2","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/inn&distro=openSUSE Leap 15.2","purlType":"rpm","versions":[{"text":"< 2.6.2-lp152.2.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.2-lp152.2.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"inn&distro=SUSE Linux Enterprise Point of Sale 11 SP3","name":"inn","label":"inn&distro=SUSE Linux Enterprise Point of Sale 11 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/inn&distro=SUSE Linux Enterprise Point of Sale 11 SP3","purlType":"rpm","versions":[{"text":"< 2.4.2-170.21.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.2-170.21.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"inn&distro=SUSE Linux Enterprise Server 11 SP4-LTSS","name":"inn","label":"inn&distro=SUSE Linux Enterprise Server 11 SP4-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/inn&distro=SUSE Linux Enterprise Server 11 SP4-LTSS","purlType":"rpm","versions":[{"text":"< 2.4.2-170.21.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.2-170.21.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"inn&distro=SUSE Package Hub 15 SP2","name":"inn","label":"inn&distro=SUSE Package Hub 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/inn&distro=SUSE Package Hub 15 SP2","purlType":"rpm","versions":[{"text":"< 2.6.2-bp152.2.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.2-bp152.2.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"suse linux enterprise server 11-sp3","name":"SUSE Linux Enterprise Server 11-SP3","label":"suse linux enterprise server 11-sp3","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ inn, ≤ inn-2.4.2-170.21.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ inn, ≤ inn-2.4.2-170.21.3.1","eol":null,"hubHref":"/vendor/suse/suse_linux_enterprise_server_11-sp3"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","label":"bugzilla.suse.com/show_bug.cgi?id=1182321","hostname":"bugzilla.suse.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-202114750-1/","label":"www.suse.com/support/update/announcement/2021/suse-su-202114750-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1182321","label":"bugzilla.suse.com/1182321","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-31998","label":"www.suse.com/security/cve/CVE-2021-31998","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/L66SY5KJMRBUJVLIGSLIQAWIALH62ZA2/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-31998","label":"ubuntu.com/security/CVE-2021-31998","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31998","label":"www.cve.org/CVERecord?id=CVE-2021-31998","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/7WPHWRLIUN6FJFWJTZWJNHGURPDXI3KU/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-06-10T11:25:11.178Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T22:40:51.163Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:18:26.758Z","stale":false,"partial":false}}