CVE-2021-31997

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.

Category

6.8
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.13%
Vendor Advisory suse.com
Affected: openSUSE Leap 15.2
Affected: openSUSE Factory
Published at:
Updated at:

References

Link Tags
https://bugzilla.suse.com/show_bug.cgi?id=1182407 vendor advisory issue tracking

Frequently Asked Questions

What is the severity of CVE-2021-31997?
CVE-2021-31997 has been scored as a medium severity vulnerability.
How to fix CVE-2021-31997?
To fix CVE-2021-31997, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-31997 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-31997 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-31997?
CVE-2021-31997 affects openSUSE Leap 15.2, openSUSE Factory.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.