Security restrictions bypass in Slurm - CVE-2021-31215
Published: June 1, 2021
Vulnerability identifier: #VU53685
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-31215
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: SchedMD
Affected software:
Slurm
Slurm
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges on the system.
The vulnerability exists due to improper environment handling in Slurm. A remote user can run arbitrary commands as SlurmUser if the installation uses a PrologSlurmctld and/or EpilogSlurmctld script.
How to mitigate CVE-2021-31215
Install updates from vendor's website.
Sources
- https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html
- https://www.schedmd.com/news.php?id=248#OPT_248
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/