# CVE-2021-31215

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-05-13 · Modified: 2024-08-03
- Aliases: MGASA-2021-0253, SUSE-SU-2021:1787-1, SUSE-SU-2021:1788-1, SUSE-SU-2021:1789-1, SUSE-SU-2021:1790-1, SUSE-SU-2021:1791-1, SUSE-SU-2021:1793-1, SUSE-SU-2021:1810-1, SUSE-SU-2021:1811-1, SUSE-SU-2021:1855-1, SUSE-SU-2021:1856-1, SUSE-SU-2021:2295-1, SUSE-SU-2021:2473-1, UBUNTU-CVE-2021-31215, DEBIAN-CVE-2021-31215, openSUSE-SU-2021:0821-1
- Record: https://cvemate.com/vulnerability/CVE-2021-31215 · JSON: https://cvemate.com/vulnerability/CVE-2021-31215/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.902%, percentile 87.403%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 25)

- debian slurm-wlm (Debian): \< 20.11.7+really20.11.4-2
- ubuntu slurm-llnl (Ubuntu): \< 2.6.5-1ubuntu0.1~esm5 \| \< 15.08.7-1ubuntu0.1~esm4 \| \< 17.11.2-1ubuntu0.1~esm4 \| \< 19.05.5-1ubuntu0.1~esm1
- debian debian\_linux: 9.0
- fedoraproject fedora: 34 \| 33
- mageia slurm (Mageia): \< 20.11.7-1.mga8
- opensuse slurm&distro=openSUSE Leap 15.2 (openSUSE): \< 20.02.7-lp152.2.6.1
- suse slurm\_18\_08&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 18.08.9-1.14.1
- suse slurm\_18\_08&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS (SUSE Linux Enterprise): \< 18.08.9-1.14.1
- suse slurm\_18\_08&distro=SUSE Linux Enterprise Module for HPC 12 (SUSE Linux Enterprise): \< 18.08.9-3.14.1
- suse slurm\_20\_02&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 20.02.7-3.19.1
- suse slurm\_20\_02&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 20.02.7-3.19.1
- suse slurm\_20\_02&distro=SUSE Linux Enterprise Module for HPC 12 (SUSE Linux Enterprise): \< 20.02.7-3.11.1
- suse slurm\_20\_11&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 20.11.7-3.11.1
- suse slurm\_20\_11&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 20.11.7-3.11.1
- suse slurm\_20\_11&distro=SUSE Linux Enterprise High Performance Computing 15 SP2 (SUSE Linux Enterprise): \< 20.11.7-6.5.1
- suse slurm\_20\_11&distro=SUSE Linux Enterprise Module for HPC 12 (SUSE Linux Enterprise): \< 20.11.7-3.8.1
- suse slurm\_20\_11&distro=SUSE Linux Enterprise Module for HPC 15 SP2 (SUSE Linux Enterprise): \< 20.11.7-6.5.1
- suse slurm&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 18.08.9-3.19.1 \| \< 17.11.13-6.37.1
- suse slurm&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 18.08.9-3.19.1 \| \< 17.11.13-6.37.1
- suse slurm&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 17.11.13-6.37.1

## References (first 20 of 30)

- <https://www.schedmd.com/news.php?id=248#OPT_248>
- <https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.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.debian.org/debian-lts-announce/2022/01/msg00011.html>
- <https://advisories.mageia.org/MGASA-2021-0253.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29040>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211787-1/>
- <https://bugzilla.suse.com/1186024>
- <https://www.suse.com/security/cve/CVE-2021-31215>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211788-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211789-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211790-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211791-1/>
- <https://bugzilla.suse.com/1180700>
- <https://bugzilla.suse.com/1185603>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211793-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211810-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211811-1/>

---

Data as of 2026-12-05T09:44:19.459Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
