CVE-2021-31215: 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…
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.9% (FIRST EPSS); higher than 87.1% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: slurm-wlm (Debian:12) 20.11.7+really20.11.4-2; slurm-llnl (Debian:9) 16.05.9-1+deb9u5; slurm (openSUSE:Leap 15.2) 20.02.7-lp152.2.6.1.
Low priority for now. Upgrade to slurm-wlm (Debian:12) 20.11.7+really20.11.4-2; slurm-llnl (Debian:9) 16.05.9-1+deb9u5; slurm (openSUSE:Leap 15.2) 20.02.7-lp152.2.6.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2021-04691
- DLA-2886-1
- openSUSE-SU-2021:0821-1
- openSUSE-SU-2024:11389-1
- 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
- Published
- May 13, 2021
- Updated
- Jun 16, 2026
- EPSS
- 2.9% · 87th percentile
- CWE
- —
Report tools
Action score
36
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| schedmd | slurm | cpe:2.3:a:schedmd:slurm |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux9.0
- fedoraproject fedora33
- fedoraproject fedora34
- schedmd slurmbefore 20.02.7
- schedmd slurm20.11 and later · before 20.11.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | slurm-wlm | before 20.11.7+really20.11.4-2 | 20.11.7+really20.11.4-2 |
| Debian:9 | slurm-llnl | before 16.05.9-1+deb9u5 | 16.05.9-1+deb9u5 |
| openSUSE:Leap 15.2 | slurm | before 20.02.7-lp152.2.6.1 | 20.02.7-lp152.2.6.1 |
| openSUSE:Tumbleweed | slurm | before 21.08.1-1.1 | 21.08.1-1.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | slurm | before 18.08.9-3.19.1 | 18.08.9-3.19.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | slurm_20_02 | before 20.02.7-3.19.1 | 20.02.7-3.19.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | slurm_20_11 | before 20.11.7-3.11.1 | 20.11.7-3.11.1 |
| SUSE:Linux Enterprise High Performance Computing 15-ESPOS | slurm | before 17.11.13-6.37.1 | 17.11.13-6.37.1 |
| SUSE:Linux Enterprise High Performance Computing 15-ESPOS | slurm_18_08 | before 18.08.9-1.14.1 | 18.08.9-1.14.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm | before 17.02.11-6.50.1 | 17.02.11-6.50.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_18_08 | before 18.08.9-3.14.1 | 18.08.9-3.14.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_20_02 | before 20.02.7-3.11.1 | 20.02.7-3.11.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_20_11 | before 20.11.7-3.8.1 | 20.11.7-3.8.1 |
| SUSE:Linux Enterprise Module for HPC 15 SP2 | slurm | before 20.02.7-3.6.1 | 20.02.7-3.6.1 |
| SUSE:Linux Enterprise Module for HPC 15 SP2 | slurm_20_11 | before 20.11.7-6.5.1 | 20.11.7-6.5.1 |
| SUSE:Linux Enterprise Module for HPC 15 SP3 | slurm | before 20.11.7-4.3.1 | 20.11.7-4.3.1 |
Same product
schedmd: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-29502SchedMD Slurm 21.08.x through 20.11.x has Incorrect Access Control that leads to Escalation of Privileges.40Plan
- CVE-2020-27745Slurm before 19.05.8 and 20.x before 20.02.6 has an RPC Buffer Overflow in the PMIx MPI plugin.40Plan
- CVE-2019-12838SchedMD Slurm 17.11.x, 18.08.0 through 18.08.7, and 19.05.0 allows SQL Injection.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2020-12693May 21, 2020 · Slurm 19.05.x before 19.05.7 and 20.02.x before 20.02.3, in the rare case where Message Aggregation is enabled, allows Authentication…33Monitor
- ← EarlierCVE-2020-27746Nov 27, 2020 · Slurm before 19.05.8 and 20.x before 20.02.6 exposes Sensitive Information to an Unauthorized Actor because xauth for X11 magic cookies is…14Monitor
- Later →CVE-2021-43337Nov 17, 2021 · SchedMD Slurm 21.08.* before 21.08.4 has Incorrect Access Control.26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:slurm-llnl | 16.05.9-1+deb9u5 · Debian:9 | Package registry (OSV) |
| debian:slurm-wlm | 20.11.7+really20.11.4-2 · Debian:12 | Package registry (OSV) |
| opensuse:slurm | 20.02.7-lp152.2.6.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| suse:slurm | 17.02.11-6.50.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:slurm_18_08 | 18.08.9-3.14.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:slurm_20_02 | 20.02.7-3.11.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:slurm_20_11 | 20.11.7-3.8.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/
- lists.schedmd.com/pipermail/slurm-announce/2021/000055.html
- www.schedmd.com/news.php?id=248#OPT_248
Vendor advisories and official records. Exploit/PoC links are deliberately left out.