CVE-2021-31997 Privilege escalation in Factory

Medium 6.8 Published Updated

Local attackers can escalate privileges from postorius users to root via symlink following in the postorius-permissions.sh script.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31997?

CVE-2021-31997 is a medium-severity vulnerability in openSUSE Factory, published on 10 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-59

Which versions are affected by CVE-2021-31997?

It affects 1 product.

Products include Opensuse Python-Postorius.

How do I fix CVE-2021-31997?

No fix has been published for CVE-2021-31997 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-31997 being exploited?

There is no known exploitation of CVE-2021-31997 in the wild and no public exploit code.

Sources

Also known as GHSA-p6rm-7r2c-w38x.

Is CVE-2021-31997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free