# CVE-2022-31251: slurm: %post for slurm-testsuite operates as root in user owned directory

- Severity: Medium 6.5 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-07T08:55:09.171Z
- Modified: 2026-06-17T04:45:13.347Z
- Weaknesses: CWE-276
- Assigned by: suse

## Description

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.

(As written by CVE List.)

## Affected

- SUSE openSUSE Factory: from slurm before 22.05.2-3.3
- opensuse factory: before 22.05.2-3.3

## Every score

- suse: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1201674> (exploit, issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31251](https://www.cve.org/CVERecord?id=CVE-2022-31251), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2022-31251](https://nvd.nist.gov/vuln/detail/CVE-2022-31251), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31251 · Whole record: https://cve.day/CVE-2022-31251.json · Rebuilt by cve.day 2026-11-25T22:58:14.745Z
