Skip to content
Fencer Vulns
high 8.8

CVE-2021-31215 json

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 PrologSl…

published 2021-05-13 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-18128

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.9%
EPSS 2.9% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • schedmd slurm 20.02.7, 20.11.7
  • slurm-wlm Debian 14, Debian 13, Debian 12 20.11.7+really20.11.4-2

debian advisories DEBIAN-CVE-2021-31215

  • slurm-llnl Ubuntu Pro 14.04 LTS 2.6.5-1ubuntu0.1~esm5
  • slurm-llnl Ubuntu Pro 16.04 LTS 15.08.7-1ubuntu0.1~esm4
  • slurm-llnl Ubuntu Pro 18.04 LTS 17.11.2-1ubuntu0.1~esm4
  • slurm-llnl Ubuntu Pro 20.04 LTS 19.05.5-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-31215

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • slurm SLE Module for HPC 15 SP3 20.11.7-4.3.1
  • slurm_20_11 SLE Module for HPC 15 SP2, SLE High Performance Computing 15 SP2 20.11.7-6.5.1
  • slurm_18_08 SLE High Performance Computing 15-LTSS, SLE High Performance Computing 15-ESPOS 18.08.9-1.14.1
  • slurm SLE High Performance Computing 15-LTSS, SLE High Performance Computing 15-ESPOS, SLE High Performance Computing 15 SP1-LTSS +1 more 17.11.13-6.37.1
  • slurm SLE High Performance Computing 15 SP1-LTSS, SLE High Performance Computing 15 SP1-ESPOS 18.08.9-3.19.1
  • slurm SLE Module for HPC 15 SP2 20.02.7-3.6.1
  • slurm_20_11 SLE High Performance Computing 15 SP1-LTSS, SLE High Performance Computing 15 SP1-ESPOS 20.11.7-3.11.1
  • slurm_20_11 SLE Module for HPC 12 20.11.7-3.8.1

suse advisories SUSE-SU-2021:2473-1SUSE-SU-2021:2295-1SUSE-SU-2021:1856-1SUSE-SU-2021:1855-1SUSE-SU-2021:1811-1SUSE-SU-2021:1810-1

  • slurm openSUSE Tumbleweed 21.08.1-1.1
  • slurm openSUSE Leap 15.2 20.02.7-lp152.2.6.1

opensuse advisories openSUSE-SU-2024:11389-1openSUSE-SU-2021:0821-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-31215 updated cvss 9.9

slurm: environment mishandling in PrologSlurmctld or EpilogSlurmctld script may allow remote code execution

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.90% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

References

Sources

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.