CVE-2021-31997

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

State
Published
Severity
6.8 Medium
Published
Jun 10, 2021
Updated
Sep 16, 2024
Reserved
May 3, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:Nsuse

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
Leap 15.2openSUSE
  • python-postorius through 1.3.2-lp152.1.2Affected
FactoryopenSUSE
  • python-postorius through 1.3.4-2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.