cve.bz

CVE-2021-31215

8.8 highEPSS 2.9%

High (8.8). EPSS 2.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-31215 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31215?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31215?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31215 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
schedmd:slurmbefore 20.02.7
schedmd:slurmfrom 20.11 before 20.11.7
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9slurm-llnl16.05.9-1+deb9u5DLA-2886-1
Debian12, 13, 14slurm-wlm20.11.7+really20.11.4-2DEBIAN-CVE-2021-31215
UbuntuPro:14.04:LTSslurm-llnl2.6.5-1ubuntu0.1~esm5UBUNTU-CVE-2021-31215 USN-4781-1
UbuntuPro:16.04:LTSslurm-llnl15.08.7-1ubuntu0.1~esm4UBUNTU-CVE-2021-31215 USN-4781-1
UbuntuPro:18.04:LTSslurm-llnl17.11.2-1ubuntu0.1~esm4UBUNTU-CVE-2021-31215 USN-4781-1
UbuntuPro:20.04:LTSslurm-llnl19.05.5-1ubuntu0.1~esm1UBUNTU-CVE-2021-31215 USN-4781-1
SUSELinux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSSslurm18.08.9-3.19.1SUSE-SU-2021:1811-1
SUSELinux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSSslurm_20_0220.02.7-3.19.1SUSE-SU-2021:1790-1
SUSELinux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSSslurm_20_1120.11.7-3.11.1SUSE-SU-2021:1793-1
SUSELinux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15-ESPOS and 1 moreslurm17.11.13-6.37.1SUSE-SU-2021:1855-1
SUSELinux Enterprise High Performance Computing 15 SP2, Linux Enterprise Module for HPC 15 SP2slurm_20_1120.11.7-6.5.1SUSE-SU-2021:2295-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSSslurm_18_0818.08.9-1.14.1SUSE-SU-2021:1856-1
SUSELinux Enterprise Module for HPC 12slurm17.02.11-6.50.1SUSE-SU-2021:1787-1
SUSELinux Enterprise Module for HPC 12slurm_18_0818.08.9-3.14.1SUSE-SU-2021:1788-1
SUSELinux Enterprise Module for HPC 12slurm_20_0220.02.7-3.11.1SUSE-SU-2021:1789-1
SUSELinux Enterprise Module for HPC 12slurm_20_1120.11.7-3.8.1SUSE-SU-2021:1791-1
SUSELinux Enterprise Module for HPC 15 SP2slurm20.02.7-3.6.1SUSE-SU-2021:1810-1
SUSELinux Enterprise Module for HPC 15 SP3slurm20.11.7-4.3.1SUSE-SU-2021:2473-1
openSUSELeap 15.2slurm20.02.7-lp152.2.6.1openSUSE-SU-2021:0821-1
openSUSETumbleweedslurm21.08.1-1.1openSUSE-SU-2024:11389-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

References

Check your stackJSON