CVE-2022-31252

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

MEDIUM
4.4
CVSS Score
Published: October 6, 2022 at 05:14 PM UTC
Updated: June 17, 2026 at 04:45 AM UTC
3 products affected across 2 vendorsLeapLinux Enterprise ServerLeap Micro

Using SUSE Linux Enterprise Server 12-SP5 by SUSE?

Get instant alerts when new vulnerabilities affect SUSE Linux Enterprise Server 12-SP5 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

permissions ≤ v < 20200127permissions ≤ v < 2020122515.315.4permissions
Affected range stops below 20200127, so it looks safe — our inference, not a vendor statement
Affected range stops below 20201225, so it looks safe — our inference, not a vendor statement
permissions ≤ v < 201812255.2permissions
Affected range stops below 20181225, so it looks safe — our inference, not a vendor statement
permissions ≤ v < 2017070712 sp5permissions
Affected range stops below 20170707, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

CVSS

4.4MEDIUMsuse
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-863

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card