{"id":"CVE-2021-31997","aliases":["EUVD-2021-18868","GHSA-p6rm-7r2c-w38x","openSUSE-SU-2024:12306-1"],"status":"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.","severity":{"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00339,"percentile":0.27483,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-59","CWE-61"],"published":"2021-06-10T11:35:11Z","modified":"2026-06-17T03:52:38Z","products":[{"vendor":"opensuse","product":"factory"},{"vendor":"opensuse","product":"leap 15.2"},{"vendor":"opensuse","product":"python-postorius"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182407","tags":["x_transferred","Issue Tracking","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31997"},{"url":"https://github.com/advisories/GHSA-p6rm-7r2c-w38x"},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-31997","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-40347","tags":["web"]}],"sources":{"cve":[{"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.","status":"published","published":"2021-06-10T11:35:11.799Z","modified":"2024-09-16T23:22:17.307Z","cvss":[{"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","level":"medium","assessor":"cna"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:33:05.665371Z"}],"euvd":[{"id":"EUVD-2021-18868","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.","status":"published","published":"2021-06-10T11:35:11Z","modified":"2024-09-16T23:22:17Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-03T00:54:50.852699Z"}],"ghsa":[{"id":"GHSA-p6rm-7r2c-w38x","title":"a UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2,...","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.","status":"published","published":"2022-05-24T19:04:54Z","modified":"2023-01-27T05:02:49Z","cvss":[{"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","level":"high"}],"cwes":["CWE-59","CWE-61"],"updated_at":"2026-11-02T14:42:06.943612Z"}],"nvd":[{"id":"CVE-2021-31997","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.","status":"published","published":"2021-06-10T12:15:08.857Z","modified":"2026-06-17T03:52:38.827Z","cvss":[{"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","level":"medium","assessor":"secondary"},{"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","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"openSUSE-SU-2024:12306-1","title":"postorius-1.3.6-1.1 on GA media","description":"These are all security issues fixed in the postorius-1.3.6-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:30:37.787723Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
