CVE-2021-31997: python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root
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 Software
Event History
Frequently Asked Questions
What is CVE-2021-31997?
CVE-2021-31997 is a UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2, Factory that allows local attackers to escalate privileges.
How does CVE-2021-31997 affect openSUSE Leap 15.2?
CVE-2021-31997 affects openSUSE Leap 15.2 with python-postorius version 1.3.2-lp152.1.2 and prior versions.
How can an attacker exploit CVE-2021-31997?
An attacker can exploit CVE-2021-31997 by leveraging a UNIX symbolic link following vulnerability in python-postorius to escalate privileges from postorius or postorius-admin users to root.
What is the severity of CVE-2021-31997?
CVE-2021-31997 has a severity score of 7.8 (High).
How can I fix CVE-2021-31997?
To fix CVE-2021-31997, it is recommended to update python-postorius to version 1.3.4-2.1 or later.