CVE-2021-31997: python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root

Published Jun 10, 2021
·
Updated

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

4 affected components
openSUSE python-postorius<1.3.2-lp152.1.2
openSUSE Leap=15.2
openSUSE python-postorius<=1.3.4-2.1
openSUSE Factory

Event History

Jun 10, 2021
CVE Published
via MITRE·11:35 AM
Data Sourced
via MITRE·11:35 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What is the severity of CVE-2021-31997?

CVE-2021-31997 has a severity score of 7.8 (High).

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203