CVE-2019-12838: SchedMD Slurm 17.11.x, 18.08.0 through 18.08.7, and 19.05.0 allows SQL Injection.
Noroxi assessment
Priority: Plan (action score 40/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.7% (FIRST EPSS); higher than 86.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: slurm-llnl (Debian:10) 18.08.5.2-1+deb10u1; slurm-llnl (Debian:8) 14.03.9-5+deb8u5; slurm-llnl (Debian:9) 16.05.9-1+deb9u5.
Add it to your regular patch cycle. Upgrade to slurm-llnl (Debian:10) 18.08.5.2-1+deb10u1; slurm-llnl (Debian:8) 14.03.9-5+deb8u5; slurm-llnl (Debian:9) 16.05.9-1+deb9u5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- BDU:2020-01856
- DLA-2143-1
- DLA-2886-1
- DSA-4572-1
- openSUSE-SU-2019:2052-1
- openSUSE-SU-2019:2536-1
- openSUSE-SU-2020:0085-1
- openSUSE-SU-2024:11389-1
- SUSE-SU-2019:2229-1
- SUSE-SU-2019:2989-1
- SUSE-SU-2019:3080-1
- SUSE-SU-2020:0110-1
- SUSE-SU-2020:0434-1
- SUSE-SU-2020:0443-1
- SUSE-SU-2020:2607-1
- SUSE-SU-2021:0773-1
- Published
- Jul 11, 2019
- Updated
- Jun 16, 2026
- EPSS
- 2.7% · 86th percentile
- CWE
- CWE-89
Report tools
Action score
40
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| schedmd | slurm | cpe:2.3:a:schedmd:slurm |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora29
- fedoraproject fedora30
- opensuse leap15.0
- opensuse leap15.1
- schedmd slurmafter 18.08.0 · up to 18.08.7 inclusive
- schedmd slurmafter 17.11.0.0 · up to 17.11.13.2 inclusive
- schedmd slurm19.05.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | slurm-llnl | before 18.08.5.2-1+deb10u1 | 18.08.5.2-1+deb10u1 |
| Debian:8 | slurm-llnl | before 14.03.9-5+deb8u5 | 14.03.9-5+deb8u5 |
| Debian:9 | slurm-llnl | before 16.05.9-1+deb9u5 | 16.05.9-1+deb9u5 |
| openSUSE:Leap 15.0 | slurm | before 17.11.13-lp150.5.24.1 | 17.11.13-lp150.5.24.1 |
| openSUSE:Leap 15.1 | slurm | before 18.08.8-lp151.2.3.1 | 18.08.8-lp151.2.3.1 |
| openSUSE:Leap 15.1 | slurm | before 18.08.9-lp151.2.6.1 | 18.08.9-lp151.2.6.1 |
| openSUSE:Tumbleweed | slurm | before 21.08.1-1.1 | 21.08.1-1.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 | perl-Switch | before 2.17-3.2.1 | 2.17-3.2.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh | before 2.33-7.18.1 | 2.33-7.18.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh | before 2.34-7.32.1 | 2.34-7.32.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_18_08 | before 2.34-7.32.1 | 2.34-7.32.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_18_08 | before 2.34-7.26.2 | 2.34-7.26.2 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_20_02 | before 2.34-7.26.2 | 2.34-7.26.2 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_20_02 | before 2.34-7.32.1 | 2.34-7.32.1 |
| SUSE:Linux Enterprise Module for HPC 12 | pdsh_slurm_20_11 | before 2.34-7.32.1 | 2.34-7.32.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm | before 17.02.11-6.33.1 | 17.02.11-6.33.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_18_08 | before 18.08.9-3.5.1 | 18.08.9-3.5.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_20_02 | before 20.02.3-3.5.1 | 20.02.3-3.5.1 |
| SUSE:Linux Enterprise Module for HPC 12 | slurm_20_11 | before 20.11.4-3.5.1 | 20.11.4-3.5.1 |
| SUSE:Linux Enterprise Module for HPC 15 | pdsh | before 2.33-7.6.1 | 2.33-7.6.1 |
| SUSE:Linux Enterprise Module for HPC 15 | slurm | before 17.11.13-6.18.1 | 17.11.13-6.18.1 |
| SUSE:Linux Enterprise Module for HPC 15 | slurm_18_08 | before 18.08.9-1.5.2 | 18.08.9-1.5.2 |
| SUSE:Linux Enterprise Module for HPC 15 SP1 | slurm | before 18.08.8-3.4.1 | 18.08.8-3.4.1 |
| SUSE:Linux Enterprise Module for HPC 15 SP1 | slurm | before 18.08.9-3.10.1 | 18.08.9-3.10.1 |
Same product
schedmd: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-29502SchedMD Slurm 21.08.x through 20.11.x has Incorrect Access Control that leads to Escalation of Privileges.40Plan
- CVE-2020-27745Slurm before 19.05.8 and 20.x before 20.02.6 has an RPC Buffer Overflow in the PMIx MPI plugin.40Plan
- CVE-2019-6438SchedMD Slurm before 17.11.13 and 18.x before 18.08.5 mishandles 32-bit systems.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-7033Mar 15, 2018 · SchedMD Slurm before 17.02.10 and 17.11.x before 17.11.5 allows SQL Injection attacks against SlurmDBD.40Plan
- ← EarlierCVE-2018-10995May 30, 2018 · SchedMD Slurm before 17.02.11 and 17.1x.x before 17.11.7 mishandles user names (aka user_name fields) and group ids (aka gid fields).22Monitor
- Later →CVE-2019-19727Jan 13, 2020 · SchedMD Slurm before 18.08.9 and 19.x before 19.05.5 has weak slurmdbd.conf permissions.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:slurm-llnl | 14.03.9-5+deb8u5 · Debian:8 | Package registry (OSV) |
| opensuse:slurm | 18.08.8-lp151.2.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| suse:pdsh | 2.33-7.18.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:pdsh_slurm_18_08 | 2.34-7.26.2 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:pdsh_slurm_20_02 | 2.34-7.26.2 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:pdsh_slurm_20_11 | 2.34-7.32.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:perl-Switch | 2.17-3.2.1 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
| suse:slurm | 18.08.8-3.4.1 · SUSE:Linux Enterprise Module for HPC 15 SP1 | Package registry (OSV) |
| suse:slurm_18_08 | 18.08.9-3.5.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:slurm_20_02 | 20.02.3-3.5.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
| suse:slurm_20_11 | 20.11.4-3.5.1 · SUSE:Linux Enterprise Module for HPC 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00051.html
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00038.html
- lists.debian.org/debian-lts-announce/2020/03/msg00016.html
- lists.debian.org/debian-lts-announce/2022/01/msg00011.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2O47F72FWMYLEGF35QGNYY5VS33SUQS5/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AQ6EV3OWKGMTBWCSXZGS4MYADUBLVXSQ/
- lists.schedmd.com/pipermail/slurm-announce/2019/
- lists.schedmd.com/pipermail/slurm-announce/2019/000025.html
- seclists.org/bugtraq/2019/Nov/30
- www.debian.org/security/2019/dsa-4572
- www.schedmd.com/news.php
- www.schedmd.com/news.php?id=218
Vendor advisories and official records. Exploit/PoC links are deliberately left out.