CVE-2022-31251 json
slurm: %post for slurm-testsuite operates as root in user owned directory
published 2022-09-07 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52828
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
A Incorrect Default Permissions vulnerability in the packaging of the slurm testsuite of openSUSE Factory allows local attackers with control over the slurm user to escalate to root. This issue affects: openSUSE Factory slurm versions prior to 22.05.2-3.3.
Patch / fix
- SUSE openSUSE Factory 22.05.2-3.3
- slurm_22_05 SLE High Performance Computing 15 SP2-LTSS, SLE High Performance Computing 15 SP2-ESPOS 22.05.5-150200.5.3.2
- pdsh SLE High Performance Computing 15 SP2-LTSS, SLE High Performance Computing 15 SP2-ESPOS 2.34-150200.4.6.2
- pdsh_slurm_20_11 openSUSE Leap 15.4, openSUSE Leap 15.3 2.34-150200.4.6.2
- pdsh_slurm_22_05 SLE High Performance Computing 15 SP2-LTSS, SLE High Performance Computing 15 SP2-ESPOS 2.34-150200.4.6.2
- slurm_22_05 SLE Module for HPC 15 SP4, SLE Module for HPC 15 SP3, openSUSE Leap 15.4 +1 more 22.05.5-150300.7.3.2
- pdsh SLE Module for HPC 15 SP4, SLE Module for HPC 15 SP3, openSUSE Leap 15.4 +1 more 2.34-150300.35.2
- pdsh_slurm_22_05 SLE Module for HPC 15 SP4, SLE Module for HPC 15 SP3, openSUSE Leap 15.4 +1 more 2.34-150300.35.2
- slurm_22_05 SLE Module for HPC 12 22.05.5-3.3.5
suse advisories SUSE-RU-2022:4362-1SUSE-RU-2022:4361-1SUSE-RU-2022:4348-1SUSE-RU-2022:4297-1SUSE-SU-2022:3535-1SUSE-SU-2022:3497-1
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1201674 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H |
| NVD | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- SUSE openSUSE Factory
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
bugzilla.suse.com
/show_bug.cgi?id=1201674
exploit, issue-tracking, third-party-advisory
Sources
- CVE List CVE-2022-31251
- NVD CVE-2022-31251
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.