permissions: chkstat does not check for group-writable parent directories or target files in safeOpen()
CVE-2022-31252
Key Information:
- Vendor
Suse
- Status
- Vendor
- CVE Published:
- 6 October 2022
Key facts
CVE-2022-31252 is a medium severity (CVSS 4.4) vulnerability in Suse openSUSE Leap 15.3 and openSUSE Leap 15.4. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.1%, the estimated probability of exploitation in the next 30 days. Fixed in openSUSE Leap 15.3 20200127; openSUSE Leap 15.4 20201225; openSUSE Leap Micro 5.2 20181225.
How risky is it?
- No: Needs local access
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Upgrade to one of these versions or later:
2Why it's rated "Monitor"
- Its CVSS severity is medium (4.4).
What is CVE-2022-31252?
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.
Affected Version(s)
openSUSE Leap 15.3 permissions < 20200127
openSUSE Leap 15.4 permissions < 20201225
openSUSE Leap Micro 5.2 permissions < 20181225