CVE-2022-29502
Critical · 9.8CVSS
9.8
EPSS
1.8%
Published
May 5, 2022
CISA due date
—
Cloudanix analysis
A flaw in widely used job-scheduling software lets outsiders seize control of entire computing clusters without any credentials.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Incorrect access control in the Slurm controller allows unauthenticated remote attackers to bypass permission checks and execute operations with elevated privileges.
Why it matters to the business
Compromise of HPC clusters can result in unauthorized job execution, data exfiltration, resource hijacking, and disruption of scientific or enterprise workloads.
How an attack unfolds
An attacker connects to an exposed Slurm daemon and submits specially crafted job requests that exploit missing authorization checks to run commands as a privileged user.
How to fix it
Upgrade Slurm to a version newer than the 21.08.x–20.11.x range; restrict controller access to trusted networks until patches are applied.
How to confirm the fix worked
Verify installed Slurm version against vendor advisories; attempt job submission from an unprivileged network location to confirm authorization enforcement.
Typical attack path
- Locate publicly reachable Slurm controller ports
- Submit crafted job or command without authentication
- Trigger privilege escalation via access-control flaw
- Execute arbitrary code or access cluster resources
How to detect it
Review Slurm controller logs for job submissions or commands originating from unexpected IP addresses or lacking proper authentication tokens; correlate with unusual privilege changes or high-priority job executions.
What your security team should do
- Prioritize immediate upgrade of all Slurm installations
- Place Slurm controllers behind strict network ACLs
- Enable and review authentication logging on controllers
- Scan for any exposed Slurm daemons with internet-facing ports
The record
SchedMD Slurm 21.08.x through 20.11.x has Incorrect Access Control that leads to Escalation of Privileges.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | slurm-wlm | 0 | 21.08.8.2-1 |
| Debian:13 | slurm-wlm | 0 | 21.08.8.2-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | pdsh | 0 | 2.34-150100.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | pdsh_slurm_20_02 | 0 | 2.34-150100.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | pdsh_slurm_22_05 | 0 | 2.34-150100.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | slurm_22_05 | 0 | 22.05.5-150100.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | pdsh | 0 | 2.34-150100.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | pdsh_slurm_20_02 | 0 | 2.34-150100.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | pdsh_slurm_22_05 | 0 | 2.34-150100.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | slurm_22_05 | 0 | 22.05.5-150100.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | pdsh | 0 | 2.34-150200.4.6.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | pdsh_slurm_22_05 | 0 | 2.34-150200.4.6.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | slurm_22_05 | 0 | 22.05.5-150200.5.3.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | pdsh | 0 | 2.34-150200.4.6.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | pdsh_slurm_22_05 | 0 | 2.34-150200.4.6.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | slurm_22_05 | 0 | 22.05.5-150200.5.3.2 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh | 0 | 2.34-7.35.2 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_18_08 | 0 | 2.34-7.35.3 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_20_02 | 0 | 2.34-7.35.3 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_20_11 | 0 | 2.34-7.35.3 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_22_05 | 0 | 2.34-7.35.5 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_22_05 | 0 | 22.05.5-3.3.5 |
| SUSE:Linux Enterprise Module for HPC 15 SP3 | pdsh | 0 | 2.34-150300.35.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP3 | pdsh_slurm_22_05 | 0 | 2.34-150300.35.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP3 | slurm_22_05 | 0 | 22.05.5-150300.7.3.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP4 | pdsh | 0 | 2.34-150300.35.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP4 | pdsh_slurm_22_05 | 0 | 2.34-150300.35.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP4 | slurm_22_05 | 0 | 22.05.5-150300.7.3.2 |
| Ubuntu:22.04:LTS | slurm-wlm | 0 | No fix |
| Ubuntu:24.04:LTS | slurm-wlm | 0 | 23.02.3-2ubuntu1 |
| Ubuntu:Pro:16.04:LTS | slurm-llnl | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | slurm-llnl | 0 | 19.05.5-1ubuntu0.1~esm2 |
| Ubuntu:Pro:22.04:LTS | slurm-wlm | 0 | 21.08.5-2ubuntu1+esm1 |
| openSUSE:Leap 15.3 | pdsh | 0 | 2.34-150300.35.2 |
| openSUSE:Leap 15.3 | pdsh_slurm_20_02 | 0 | 2.34-150100.10.14.1 |
| openSUSE:Leap 15.3 | pdsh_slurm_20_11 | 0 | 2.34-150200.4.6.2 |
| openSUSE:Leap 15.3 | pdsh_slurm_22_05 | 0 | 2.34-150300.35.2 |
| openSUSE:Leap 15.3 | slurm_22_05 | 0 | 22.05.5-150300.7.3.2 |
| openSUSE:Leap 15.4 | pdsh | 0 | 2.34-150300.35.2 |
| openSUSE:Leap 15.4 | pdsh_slurm_20_02 | 0 | 2.34-150100.10.14.1 |
| openSUSE:Leap 15.4 | pdsh_slurm_20_11 | 0 | 2.34-150200.4.6.2 |
| openSUSE:Leap 15.4 | pdsh_slurm_22_05 | 0 | 2.34-150300.35.2 |
| openSUSE:Leap 15.4 | slurm_22_05 | 0 | 22.05.5-150300.7.3.2 |
Related vulnerabilities
- CVE-2024-48936 SchedMD Slurm before 24.05.4 has Incorrect Authorization. Also affects slurm-wlm
- CVE-2016-10030 The _prolog_error function in slurmd/req.c in Slurm before 15.08.13, 16.x before 16.05.7… Also affects pdsh
- CVE-2025-43904 In SchedMD Slurm before 24.11.5, 24.05.8, and 23.11.11, the accounting system can allow a… Also affects slurm_22_05
- CVE-2023-49934 An issue was discovered in SchedMD Slurm 23.11.x. Also affects slurm-wlm