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

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.

Published: 2022-10-06 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-31252 is rated Low Risk (20.7/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-31252

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-24 0.08% 0.03% -0.05%
2 2025-11-21 0.03% 0.08% +0.05%
3 2025-11-18 0.03%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-31252

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.4 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.8 2.5 [email protected]
4.4 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.8 2.5 [email protected]

Weakness enumeration for CVE-2022-31252

OS Trackers for CVE-2022-31252

vendor priority summary link
suse medium CVE-2022-31252 severity moderate: SUSE including 373 source package names (0.58.0.1.147:permissions-20201225-150400.5.11.1, 0.58.0.17.143:permissions-20201225-150400.5.11.1, …), 634 product×package rows across 337 product lines (Container bci/bci-init, Container bci/bci-sle15-kernel-module-devel, … (337 product lines)): Fixed 511, Known Affected 102, Will Not Fix 21. https://www.suse.com/security/cve/CVE-2022-31252/

Affected software / configurations for CVE-2022-31252

Vendor Product Version Raw CPE
opensuse leap 15.3 cpe:2.3:o:opensuse:leap:15.3:*:*:*:*:*:*:*
opensuse leap 15.4 cpe:2.3:o:opensuse:leap:15.4:*:*:*:*:*:*:*
opensuse leap_micro 5.2 cpe:2.3:o:opensuse:leap_micro:5.2:*:*:*:*:*:*:*
suse linux_enterprise_server 12 cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:*:*:*:*

References for CVE-2022-31252

URL Tags
https://bugzilla.suse.com/show_bug.cgi?id=1203018 Issue Tracking Vendor Advisory
cvelogic Threat Intelligence