{"id":"CVE-2021-31997","state":"PUBLISHED","title":"python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root","description":"A UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2, Factory allows local attackers to escalate from users postorius or postorius-admin to root. This issue affects: openSUSE Leap 15.2 python-postorius version 1.3.2-lp152.1.2 and prior versions. openSUSE Factory python-postorius version 1.3.4-2.1 and prior versions.","publishedAt":"2021-06-10T11:35:11.799Z","updatedAt":"2024-09-16T23:22:17.307Z","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":["openSUSE Leap 15.2","openSUSE Factory"],"affected":[{"vendor":"openSUSE","product":"Leap 15.2","versions":[{"version":"python-postorius","status":"affected","lessThanOrEqual":"1.3.2-lp152.1.2","versionType":"custom"}]},{"vendor":"openSUSE","product":"Factory","versions":[{"version":"python-postorius","status":"affected","lessThanOrEqual":"1.3.4-2.1","versionType":"custom"}]}],"references":["https://bugzilla.suse.com/show_bug.cgi?id=1182407"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T19:48:30.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/31xxx/CVE-2021-31997.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-31997","state":"PUBLISHED","datePublished":"2021-06-10T11:35:11.799Z","dateUpdated":"2024-09-16T23:22:17.307Z","assignerShortName":"suse","assignerOrgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateReserved":"2021-05-03T00:00:00.000Z"},"containers":{"cna":{"title":"python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root","descriptions":[{"lang":"en","value":"A UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2, Factory allows local attackers to escalate from users postorius or postorius-admin to root. This issue affects: openSUSE Leap 15.2 python-postorius version 1.3.2-lp152.1.2 and prior versions. openSUSE Factory python-postorius version 1.3.4-2.1 and prior versions."}],"affected":[{"vendor":"openSUSE","product":"Leap 15.2","versions":[{"version":"python-postorius","status":"affected","lessThanOrEqual":"1.3.2-lp152.1.2","versionType":"custom"}]},{"vendor":"openSUSE","product":"Factory","versions":[{"version":"python-postorius","status":"affected","lessThanOrEqual":"1.3.4-2.1","versionType":"custom"}]}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182407"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","type":"CWE","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')"}]}],"providerMetadata":{"shortName":"suse","orgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateUpdated":"2022-10-13T00:00:00.000Z"},"datePublic":"2021-05-20T00:00:00.000Z","credits":[{"lang":"en","value":"Matthias Gerstner of SUSE"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1182407","defect":["1182407"],"discovery":"INTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182407","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:10:31.420Z"}}]}}}