CVE-2021-31215 Code injection in n/a
Remote attackers can execute arbitrary code as SlurmUser by exploiting environment mishandling in PrologSlurmctld or EpilogSlurmctld scripts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-31215?
CVE-2021-31215 is a high-severity code injection vulnerability in Debian Debian Linux, published on 13 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-31215?
It affects 3 products.
Linux distribution packages (21)
slurm SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 17.11.13-6.37.1 |
slurm SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 18.08.9-3.19.1 |
slurm_20_02 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 20.02.7-3.19.1 |
slurm_20_11 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 20.11.7-3.11.1 |
slurm SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 17.11.13-6.37.1 |
slurm SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 18.08.9-3.19.1 |
slurm_20_02 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 20.02.7-3.19.1 |
slurm_20_11 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 20.11.7-3.11.1 |
slurm_20_11 SUSE:Linux Enterprise High Performance Computing 15 SP2 | All versions | 20.11.7-6.5.1 |
slurm SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 17.11.13-6.37.1 |
slurm_18_08 SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 18.08.9-1.14.1 |
slurm SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 17.11.13-6.37.1 |
slurm_18_08 SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 18.08.9-1.14.1 |
slurm SUSE:Linux Enterprise Module for HPC 12 | All versions | 17.02.11-6.50.1 |
slurm_18_08 SUSE:Linux Enterprise Module for HPC 12 | All versions | 18.08.9-3.14.1 |
slurm_20_02 SUSE:Linux Enterprise Module for HPC 12 | All versions | 20.02.7-3.11.1 |
slurm_20_11 SUSE:Linux Enterprise Module for HPC 12 | All versions | 20.11.7-3.8.1 |
slurm SUSE:Linux Enterprise Module for HPC 15 SP2 | All versions | 20.02.7-3.6.1 |
slurm_20_11 SUSE:Linux Enterprise Module for HPC 15 SP2 | All versions | 20.11.7-6.5.1 |
slurm SUSE:Linux Enterprise Module for HPC 15 SP3 | All versions | 20.11.7-4.3.1 |
slurm openSUSE:Leap 15.2 | All versions | 20.02.7-lp152.2.6.1 |
Products include Debian Debian Linux, Fedoraproject Fedora, Schedmd Slurm.
How do I fix CVE-2021-31215?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-31215 being exploited?
There is no known exploitation of CVE-2021-31215 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-31215, GHSA-wg2q-q9j3-c3v8, MGASA-2021-0253, SUSE-SU-2021:1787-1, SUSE-SU-2021:1788-1, SUSE-SU-2021:1789-1 and 11 more.