CVE-2023-49934
Critical · 9.8CVSS
9.8
EPSS
0.8%
Published
Dec 14, 2023
CISA due date
—
Cloudanix analysis
A flaw in the job scheduling software used by many research computing clusters lets attackers steal or change sensitive workload information without any login.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Full Compromise
- Component
- Network Service
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Unauthenticated SQL injection in the SlurmDBD database interface allows arbitrary SQL execution, enabling full read/write access to job, user, and accounting data.
Why it matters to the business
Attackers can steal or alter sensitive HPC workload information, disrupt cluster scheduling, and potentially pivot to broader infrastructure compromise in research and compute environments.
How an attack unfolds
An attacker sends specially crafted requests to an exposed SlurmDBD listener; the unsanitized input is concatenated into SQL statements, allowing the attacker to bypass access controls, extract credentials or job data, and execute administrative commands against the cluster database.
How to fix it
Upgrade SchedMD Slurm to version 23.11.1 or later; restrict network access to SlurmDBD ports and enable prepared-statement usage in custom clients.
How to confirm the fix worked
Confirm installed package version is 23.11.1 or newer; run automated SQL-injection test suites against the SlurmDBD interface and review database query logs for parameterized statements.
Typical attack path
- Locate publicly reachable SlurmDBD TCP ports or misconfigured API endpoints
- Send crafted requests containing SQL metacharacters in job submission or accounting fields
- Extract or modify database contents including user credentials and job metadata
- Leverage obtained data to submit malicious jobs or escalate privileges within the cluster
How to detect it
Review SlurmDBD and slurmdbd.log files for queries containing unexpected SQL keywords or unusually long input strings; correlate with network connection logs to the database port.
What your security team should do
- Immediately upgrade all 23.11.x deployments to 23.11.1
- Place SlurmDBD behind a firewall and require TLS client authentication
- Audit custom Slurm plugins and submission scripts for dynamic SQL construction
- Monitor SlurmDBD logs for anomalous query patterns
The record
An issue was discovered in SchedMD Slurm 23.11.x. There is SQL Injection against the SlurmDBD database. The fixed version is 23.11.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:20.04:LTS | slurm-llnl | 0 | No fix |
| 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:25.04 | slurm-wlm | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | slurm-llnl | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | slurm-llnl | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | slurm-llnl | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | slurm-llnl | 0 | No fix |
Related vulnerabilities
- 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 slurm-llnl
- CVE-2024-48936 SchedMD Slurm before 24.05.4 has Incorrect Authorization. Also affects slurm-wlm
- CVE-2022-29502 SchedMD Slurm 21.08.x through 20.11.x has Incorrect Access Control that leads to… Also affects slurm-wlm
- CVE-2026-87936 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')… CWE-89
- CVE-2026-87938 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')… CWE-89
- CVE-2026-114664 Frappe Framework before 16.33.0 contains a blind SQL injection vulnerability in the… CWE-89
- CVE-2026-114577 A vulnerability was found in oretnom23 php-travel-agency-system. CWE-89
- CVE-2026-113406 BA-Workflow developed by YS-infoware has a SQL Injection vulnerability. CWE-89