Security readout for executives and security teams
Plain-English summary
This is a local privilege escalation issue in openSUSE's python-postorius package. A symlink-following flaw in a post-install permission script could let someone with the postorius or postorius-admin context gain root access. It is not a remote internet-facing bug.
Executive priority
Treat as a moderate operational risk on affected openSUSE hosts. Prioritize systems where local users, service accounts, or automation could reach postorius contexts, but do not treat it as an unauthenticated remote compromise based on the provided evidence.
Technical view
CVE-2021-31997 is CWE-59 in python-postorius. The vulnerable postorius-permissions.sh script used during package %post can follow UNIX symbolic links, enabling local escalation to root on affected openSUSE Leap 15.2 and Factory package versions.
Likely exposure
Exposure is likely limited to openSUSE Leap 15.2 systems running python-postorius 1.3.2-lp152.1.2 or earlier, and openSUSE Factory systems running 1.3.4-2.1 or earlier.
Exploitation context
The source bundle does not show CISA KEV listing or cited active exploitation. Exploitation is local and tied to package script behavior, with the description naming escalation from postorius or postorius-admin users to root.
Researcher notes
Evidence identifies symlink following in postorius-permissions.sh during %post. The bundle does not provide exploit details, fixed package versions, or proof of active exploitation. Validation should focus on package version, distro release, and local account exposure.
Mitigation direction
- Inventory openSUSE systems for installed python-postorius packages.
- Check openSUSE/SUSE guidance for patched package availability.
- Prioritize updating affected Leap 15.2 and Factory package versions.
- Restrict local access to postorius and postorius-admin accounts.
- Review privileged package-script execution controls where applicable.
Validation and detection
- Confirm operating system release and installed python-postorius version.
- Identify whether postorius or postorius-admin local accounts exist.
- Review package manager history for python-postorius install or upgrade events.
- Verify the installed package is no longer in the affected version range.
- Check SUSE Bugzilla or vendor advisories for final fix guidance.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-59: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupPrivilege behavior lookup
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-31997 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N2.54.2Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.8MediumVector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://bugzilla.suse.com/show_bug.cgi?id=1182407CVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
