CVE-2021-31215

NameCVE-2021-31215
DescriptionSchedMD 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs988439

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
slurm-llnl (PTS)stretch16.05.9-1+deb9u4fixed
stretch (security)16.05.9-1+deb9u2fixed
buster, buster (security)18.08.5.2-1+deb10u2vulnerable
slurm-wlm (PTS)bullseye20.11.4-1vulnerable
sid20.11.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
slurm-llnlsourcestretch(not affected)
slurm-llnlsource(unstable)(unfixed)
slurm-wlmsource(unstable)20.11.7-1988439

Notes

[buster] - slurm-llnl <no-dsa> (Minor issue)
[stretch] - slurm-llnl <not-affected> (env is already SPANKed)
https://github.com/SchedMD/slurm/commit/a9e9e2fedbd200ca545ab67dd753bd52c919f236 (2.11.7)

Search for package or bug name: Reporting problems