CVE-2024-48936
NoneCVSS
—
EPSS
0.4%
Published
Oct 28, 2024
CISA due date
—
Cloudanix analysis
A bug in workload management software used on supercomputers lets someone run tasks inside other people's jobs when an optional feature is turned on.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Incorrect authorization in stepmgr allows an attacker to execute processes under other users' jobs when --stepmgr is used or globally enabled via SlurmctldParameters=enable_stepmgr.
Why it matters to the business
Attackers could run code inside other users' compute jobs on affected HPC clusters, risking data exposure or resource misuse in research and simulation environments; low exploit likelihood reduces immediate urgency but upgrade is required for any stepmgr deployments.
How an attack unfolds
An attacker with access to a Slurm cluster that uses stepmgr identifies a job running with --stepmgr or on a system with enable_stepmgr, then abuses the authentication handling flaw to spawn processes that appear to belong to another user's job.
How to fix it
Upgrade schedmd/slurm to the version containing commit 1f8005bf270bd6ea2b4f4fa05bdbfd11673d9e89 (equivalent to 24.05.4 or later). If stepmgr is not required, remove --stepmgr flags and disable enable_stepmgr in SlurmctldParameters.
How to confirm the fix worked
Verify Slurm version is 24.05.4 or newer containing commit 1f8005bf270bd6ea2b4f4fa05bdbfd11673d9e89; audit slurm.conf for absence of enable_stepmgr and confirm no jobs use --stepmgr.
Typical attack path
- Locate Slurm cluster with stepmgr enabled via configuration or job flags
- Submit or observe a job using --stepmgr
- Trigger the authorization bypass to inject or execute processes under the target job identity
- Perform actions within the impersonated job context such as file access or computation
How to detect it
Review Slurm job step and authentication logs for unexpected process executions under job IDs not matching the submitting user; look for stepmgr-related entries around job launch times.
What your security team should do
- Immediately audit all Slurm clusters for stepmgr usage and apply the fixed commit 1f8005bf270bd6ea2b4f4fa05bdbfd11673d9e89
- Disable stepmgr globally and per-job if the feature is unused
- Monitor for new jobs using --stepmgr and review authorization logs around job step creation
The record
SchedMD Slurm before 24.05.4 has Incorrect Authorization. A mistake in authentication handling in stepmgr could permit an attacker to execute processes under other users' jobs. This is limited to jobs explicitly running with --stepmgr, or on systems that have globally enabled stepmgr via SlurmctldParameters=enable_stepmgr in their configuration.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | slurm-wlm | 0 | No fix |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | pdsh | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | pdsh_slurm_22_05 | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | pdsh_slurm_23_02 | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | pdsh_slurm_24_11 | 0 | 2.35-150300.54.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | pdsh | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | pdsh_slurm_22_05 | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | pdsh_slurm_23_02 | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | pdsh_slurm_24_11 | 0 | 2.35-150300.54.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | pdsh | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | pdsh_slurm_22_05 | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | pdsh_slurm_23_02 | 0 | 2.35-150300.54.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | pdsh_slurm_24_11 | 0 | 2.35-150300.54.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | pdsh | 0 | 2.35-150500.46.6.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | pdsh_slurm_24_11 | 0 | 2.35-150500.46.6.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | pdsh | 0 | 2.35-150500.46.6.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | pdsh_slurm_24_11 | 0 | 2.35-150500.46.6.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh | 0 | 2.35-7.44.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_20_11 | 0 | 2.35-7.44.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_22_05 | 0 | 2.35-7.44.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_23_02 | 0 | 2.35-7.44.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_24_11 | 0 | 2.35-7.44.4 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_24_11 | 0 | 24.11.1-3.5.3 |
| SUSE:Linux Enterprise Module for HPC 15 SP6 | pdsh | 0 | 2.35-150500.46.6.3 |
| SUSE:Linux Enterprise Module for HPC 15 SP6 | pdsh_slurm_24_11 | 0 | 2.35-150500.46.6.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP6 | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | pdsh | 0 | 2.35-150500.46.6.3 |
| Ubuntu:22.04:LTS | slurm-wlm | 0 | No fix |
| Ubuntu:24.04:LTS | slurm-wlm | 0 | No fix |
| Ubuntu:24.10 | slurm-wlm | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | slurm-wlm | 0 | No fix |
| openSUSE:Leap 15.6 | pdsh | 0 | 2.35-150500.46.6.3 |
| openSUSE:Leap 15.6 | pdsh_slurm_22_05 | 0 | 2.35-150300.54.3 |
| openSUSE:Leap 15.6 | pdsh_slurm_23_02 | 0 | 2.35-150300.54.3 |
| openSUSE:Leap 15.6 | pdsh_slurm_24_11 | 0 | 2.35-150500.46.6.2 |
| openSUSE:Leap 15.6 | slurm_24_11 | 0 | 24.11.1-150300.7.5.1 |
| openSUSE:Tumbleweed | slurm | 0 | 24.05.4-1.1 |
Related vulnerabilities
- CVE-2022-29502 SchedMD Slurm 21.08.x through 20.11.x has Incorrect Access Control that leads to… Also affects slurm-wlm
- 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_24_11
- 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-2023-49934 An issue was discovered in SchedMD Slurm 23.11.x. Also affects slurm-wlm