CVE-2021-31997

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

HIGH
7.8
CVSS Score
Published: June 10, 2021 at 11:35 AM UTC
Updated: June 17, 2026 at 03:52 AM UTC
3 products affected across 1 vendorPython PostoriusLeapFactory

Using Leap 15.2 by openSUSE?

Get instant alerts when new vulnerabilities affect Leap 15.2 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 1.3.4-2.1v < 1.3.2-lp152.1.2
Affected range stops below 1.3.2-lp152.1.2, so it looks safe — our inference, not a vendor statement
opensuse-factory (environment) · opensuse-leap (environment)
python-postorius ≤ v ≤ 1.3.4-2.1python-postorius
python-postorius ≤ v ≤ 1.3.2-lp152.1.2python-postorius

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card