{"id":"CVE-2021-31998","state":"PUBLISHED","title":"inn: %post calls user owned file allowing local privilege escalation to root","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.","publishedAt":"2021-06-10T11:25:11.178Z","updatedAt":"2024-09-16T22:40:51.163Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"suse"},"assigner":"suse","products":["SUSE SUSE Linux Enterprise Server 11-SP3","openSUSE openSUSE Backports SLE-15-SP2","openSUSE openSUSE Leap 15.2"],"affected":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 11-SP3","versions":[{"version":"inn","status":"affected","lessThanOrEqual":"inn-2.4.2-170.21.3.1","versionType":"custom"}]},{"vendor":"openSUSE","product":"openSUSE Backports SLE-15-SP2","versions":[{"version":"inn","status":"affected","lessThan":"2.6.2","versionType":"custom"}]},{"vendor":"openSUSE","product":"openSUSE Leap 15.2","versions":[{"version":"inn","status":"affected","lessThan":"2.6.2","versionType":"custom"}]}],"references":["https://bugzilla.suse.com/show_bug.cgi?id=1182321"],"weaknesses":["CWE-276"],"ingestedAt":"2026-10-29T19:48:30.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/31xxx/CVE-2021-31998.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-31998","state":"PUBLISHED","datePublished":"2021-06-10T11:25:11.178Z","dateUpdated":"2024-09-16T22:40:51.163Z","assignerShortName":"suse","assignerOrgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateReserved":"2021-05-03T00:00:00.000Z"},"containers":{"cna":{"title":"inn: %post calls user owned file allowing local privilege escalation to root","descriptions":[{"lang":"en","value":"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":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 11-SP3","versions":[{"version":"inn","status":"affected","lessThanOrEqual":"inn-2.4.2-170.21.3.1","versionType":"custom"}]},{"vendor":"openSUSE","product":"openSUSE Backports SLE-15-SP2","versions":[{"version":"inn","status":"affected","lessThan":"2.6.2","versionType":"custom"}]},{"vendor":"openSUSE","product":"openSUSE Leap 15.2","versions":[{"version":"inn","status":"affected","lessThan":"2.6.2","versionType":"custom"}]}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-276","description":"CWE-276: Incorrect Default Permissions","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"suse","dateUpdated":"2021-06-10T11:25:11.000Z","orgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb"},"credits":[{"lang":"en","value":"Johannes Segitz of SUSE"}],"datePublic":"2021-05-25T00:00:00.000Z","source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","defect":["1182321"],"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@suse.com","DATE_PUBLIC":"2021-05-25T00:00:00.000Z","ID":"CVE-2021-31998","STATE":"PUBLIC","TITLE":"inn: %post calls user owned file allowing local privilege escalation to root"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"SUSE Linux Enterprise Server 11-SP3","version":{"version_data":[{"version_affected":"<=","version_name":"inn","version_value":"inn-2.4.2-170.21.3.1"}]}}]},"vendor_name":"SUSE"},{"product":{"product_data":[{"product_name":"openSUSE Backports SLE-15-SP2","version":{"version_data":[{"version_affected":"<","version_name":"inn","version_value":"2.6.2"}]}},{"product_name":"openSUSE Leap 15.2","version":{"version_data":[{"version_affected":"<","version_name":"inn","version_value":"2.6.2"}]}}]},"vendor_name":"openSUSE"}]}},"credit":[{"lang":"eng","value":"Johannes Segitz of SUSE"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-276: Incorrect Default Permissions"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1182321"}]},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","defect":["1182321"],"discovery":"INTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182321","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:10:31.424Z"}}]}}}