VDB

CVE-2021-31215

CVE-2021-31215 PUBLISHED

Reported by mitre · Published May 13, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
slurm-llnlUbuntu:Pro:16.04:LTS15.08.7-1ubuntu0.1~esm4
slurm-llnlUbuntu:Pro:18.04:LTS17.11.2-1ubuntu0.1~esm4
slurmschedmd20.11.7, 20.02.7
slurm-llnlUbuntu:Pro:20.04:LTS19.05.5-1ubuntu0.1~esm1

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • May 13, 2021 EPSS Score (30 in total, the first dated here)
  • May 13, 2021 CVE Published
  • Aug 3, 2024 CVE Updated
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (3 in total, the first dated here)
  • Aug 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-31215
vulnetix vdb fixes CVE-2021-31215

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-31215/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›