{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31997","id":"CVE-2021-31997","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.","descriptionLong":"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.","published":"2021-06-10T11:35:11.799Z","updated":"2026-06-17T03:52:38.827Z","reserved":"2021-05-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"suse","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"suse"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"suse"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"suse.de"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","rating":"high","source":"NVD"}],"rating":"medium","products":["openSUSE Leap 15.2","openSUSE Factory"],"affectedProducts":[{"vendor":"openSUSE","product":"Leap 15.2","defaultStatus":null,"versions":[{"version":"python-postorius","status":"affected","lessThanOrEqual":"1.3.2-lp152.1.2","versionType":"custom"}],"platforms":[]},{"vendor":"openSUSE","product":"Factory","defaultStatus":null,"versions":[{"version":"python-postorius","status":"affected","lessThanOrEqual":"1.3.4-2.1","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-59"],"aliases":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182407","tags":["x_transferred","Issue Tracking","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00339,"epssPercentile":0.27754,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31997","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31997","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31997","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31997","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}