CVE-2022-31252

permissions: chkstat does not check for group-writable parent directories or target files in safeOpen()

Description

A Incorrect Authorization vulnerability in chkstat of SUSE Linux Enterprise Server 12-SP5; openSUSE Leap 15.3, openSUSE Leap 15.4, openSUSE Leap Micro 5.2 did not consider group writable path components, allowing local attackers with access to a group what can write to a location included in the path to a privileged binary to influence path resolution. This issue affects: SUSE Linux Enterprise Server 12-SP5 permissions versions prior to 20170707. openSUSE Leap 15.3 permissions versions prior to 20200127. openSUSE Leap 15.4 permissions versions prior to 20201225. openSUSE Leap Micro 5.2 permissions versions prior to 20181225.

Category

4.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.02%
Vendor Advisory suse.com
Affected: SUSE SUSE Linux Enterprise Server 12-SP5
Affected: openSUSE openSUSE Leap 15.3
Affected: openSUSE openSUSE Leap 15.4
Affected: openSUSE openSUSE Leap Micro 5.2
Published at:
Updated at:

References

Link Tags
https://bugzilla.suse.com/show_bug.cgi?id=1203018 issue tracking vendor advisory

Frequently Asked Questions

What is the severity of CVE-2022-31252?
CVE-2022-31252 has been scored as a medium severity vulnerability.
How to fix CVE-2022-31252?
To fix CVE-2022-31252, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-31252 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-31252 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-31252?
CVE-2022-31252 affects SUSE SUSE Linux Enterprise Server 12-SP5, openSUSE openSUSE Leap 15.3, openSUSE openSUSE Leap 15.4, openSUSE openSUSE Leap Micro 5.2.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.