What’s Vulnerable › Vulnerabilities
CVE-2021-31215
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-05-13 · updated 2026-06-17
Description
SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.
Affected products
- Debian Linux: 9.0
- Fedoraproject Fedora: 33, 34
- SchedMD Slurm: before 20.02.7; from 20.11 before 20.11.7 — fixed in 20.02.7, 20.11.7
How to fix
Upgrade to a fixed version: SchedMD Slurm 20.02.7, 20.11.7. Check the vendor advisory for mitigations.
References
- https://lists.debian.org/debian-lts-announce/2022/01/msg00011.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/
- https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html
- https://www.schedmd.com/news.php?id=248#OPT_248
- https://lists.debian.org/debian-lts-announce/2022/01/msg00011.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/
- https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html
- https://www.schedmd.com/news.php?id=248#OPT_248
Get alerted when CVE-2021-31215 or the next vulnerability affects your stack