Untrusted search path in Slurm - CVE-2017-15566
Published: November 1, 2017 / Updated: August 8, 2020
Vulnerability identifier: #VU37992
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-15566
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local authenticated user to execute arbitrary code.
Insecure SPANK environment variable handling exists in SchedMD Slurm before 16.05.11, 17.x before 17.02.9, and 17.11.x before 17.11.0rc2, allowing privilege escalation to root during Prolog or Epilog execution.
Affected software
Slurm
SUSE Linux Enterprise Module for HPC
Ubuntu
Fedora
slurm-llnl (Ubuntu package)
libslurmdb26 (Ubuntu package)
libslurm26 (Ubuntu package)
slurmctld (Ubuntu package)
slurmd (Ubuntu package)
slurmdbd (Ubuntu package)
sview (Ubuntu package)
slurm-client (Ubuntu package)
libslurmdb29 (Ubuntu package)
libslurm29 (Ubuntu package)
slurm-client-emulator (Ubuntu package)
slurm-wlm-emulator (Ubuntu package)
slurm-wlm-basic-plugins (Ubuntu package)
libslurm32 (Ubuntu package)
libslurmdb32 (Ubuntu package)
libslurm34 (Ubuntu package)
libslurm-perl (Ubuntu package)
slurm-llnl-sview (Ubuntu package)
slurm-llnl-torque (Ubuntu package)
slurm-llnl-basic-plugins (Ubuntu package)
libslurmdb-perl (Ubuntu package)
slurm-llnl-slurmdbd (Ubuntu package)
libpmi0 (Ubuntu package)
slurm-wlm (Ubuntu package)
libpam-slurm (Ubuntu package)
slurm-wlm-torque (Ubuntu package)
pdsh-netgroup
pdsh-netgroup-debuginfo
pdsh-slurm
pdsh-slurm-debuginfo
pdsh-slurm_18_08
pdsh-slurm_18_08-debuginfo
pdsh-slurm_20_02
pdsh-slurm_20_02-debuginfo
pdsh-slurm_20_11
pdsh-slurm_20_11-debuginfo
pdsh_slurm_18_08-debugsource
pdsh_slurm_20_02-debugsource
pdsh_slurm_20_11-debugsource
pdsh-dshgroup
pdsh-machines
pdsh
pdsh-debuginfo
pdsh-debugsource
pdsh-machines-debuginfo
pdsh-dshgroup-debuginfo
pdsh-genders
pdsh-genders-debuginfo
slurm
slurm_20_11-munge
slurm_20_11-munge-debuginfo
slurm_20_11-node
slurm_20_11-node-debuginfo
slurm_20_11-pam_slurm
slurm_20_11-pam_slurm-debuginfo
slurm_20_11-plugins
slurm_20_11-plugins-debuginfo
slurm_20_11-slurmdbd
slurm_20_11-slurmdbd-debuginfo
slurm_20_11-sql
slurm_20_11-sql-debuginfo
slurm_20_11-webdoc
slurm_20_11-torque-debuginfo
slurm_20_11-torque
slurm_20_11-sview-debuginfo
slurm_20_11-sview
slurm_20_11-config
slurm_20_11-lua
slurm_20_11-lua-debuginfo
libnss_slurm2_20_11
libnss_slurm2_20_11-debuginfo
libpmi0_20_11
libpmi0_20_11-debuginfo
libslurm36
libslurm36-debuginfo
perl-slurm_20_11
perl-slurm_20_11-debuginfo
slurm_20_11
slurm_20_11-auth-none
slurm_20_11-auth-none-debuginfo
slurm_20_11-config-man
slurm_20_11-debuginfo
slurm_20_11-debugsource
slurm_20_11-devel
slurm_20_11-doc
SUSE Linux Enterprise Module for HPC
Ubuntu
Fedora
slurm-llnl (Ubuntu package)
libslurmdb26 (Ubuntu package)
libslurm26 (Ubuntu package)
slurmctld (Ubuntu package)
slurmd (Ubuntu package)
slurmdbd (Ubuntu package)
sview (Ubuntu package)
slurm-client (Ubuntu package)
libslurmdb29 (Ubuntu package)
libslurm29 (Ubuntu package)
slurm-client-emulator (Ubuntu package)
slurm-wlm-emulator (Ubuntu package)
slurm-wlm-basic-plugins (Ubuntu package)
libslurm32 (Ubuntu package)
libslurmdb32 (Ubuntu package)
libslurm34 (Ubuntu package)
libslurm-perl (Ubuntu package)
slurm-llnl-sview (Ubuntu package)
slurm-llnl-torque (Ubuntu package)
slurm-llnl-basic-plugins (Ubuntu package)
libslurmdb-perl (Ubuntu package)
slurm-llnl-slurmdbd (Ubuntu package)
libpmi0 (Ubuntu package)
slurm-wlm (Ubuntu package)
libpam-slurm (Ubuntu package)
slurm-wlm-torque (Ubuntu package)
pdsh-netgroup
pdsh-netgroup-debuginfo
pdsh-slurm
pdsh-slurm-debuginfo
pdsh-slurm_18_08
pdsh-slurm_18_08-debuginfo
pdsh-slurm_20_02
pdsh-slurm_20_02-debuginfo
pdsh-slurm_20_11
pdsh-slurm_20_11-debuginfo
pdsh_slurm_18_08-debugsource
pdsh_slurm_20_02-debugsource
pdsh_slurm_20_11-debugsource
pdsh-dshgroup
pdsh-machines
pdsh
pdsh-debuginfo
pdsh-debugsource
pdsh-machines-debuginfo
pdsh-dshgroup-debuginfo
pdsh-genders
pdsh-genders-debuginfo
slurm
slurm_20_11-munge
slurm_20_11-munge-debuginfo
slurm_20_11-node
slurm_20_11-node-debuginfo
slurm_20_11-pam_slurm
slurm_20_11-pam_slurm-debuginfo
slurm_20_11-plugins
slurm_20_11-plugins-debuginfo
slurm_20_11-slurmdbd
slurm_20_11-slurmdbd-debuginfo
slurm_20_11-sql
slurm_20_11-sql-debuginfo
slurm_20_11-webdoc
slurm_20_11-torque-debuginfo
slurm_20_11-torque
slurm_20_11-sview-debuginfo
slurm_20_11-sview
slurm_20_11-config
slurm_20_11-lua
slurm_20_11-lua-debuginfo
libnss_slurm2_20_11
libnss_slurm2_20_11-debuginfo
libpmi0_20_11
libpmi0_20_11-debuginfo
libslurm36
libslurm36-debuginfo
perl-slurm_20_11
perl-slurm_20_11-debuginfo
slurm_20_11
slurm_20_11-auth-none
slurm_20_11-auth-none-debuginfo
slurm_20_11-config-man
slurm_20_11-debuginfo
slurm_20_11-debugsource
slurm_20_11-devel
slurm_20_11-doc
How to mitigate CVE-2017-15566
Install update from vendor's website.
slurm-llnl (Ubuntu package) - addressed in versions Ubuntu Pro, 2.6.5-1ubuntu0.1~esm5
libslurmdb26 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.6.5-1ubuntu0.1~esm5
libslurm26 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.6.5-1ubuntu0.1~esm5
slurmctld (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurmd (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurmdbd (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
sview (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurm-client (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
libslurmdb29 (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4
libslurm29 (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4
slurm-client-emulator (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurm-wlm-emulator (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurm-wlm-basic-plugins (Ubuntu package) - addressed in versions Ubuntu Pro, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
libslurm32 (Ubuntu package) - update to 17.11.2-1ubuntu0.1~esm4
libslurmdb32 (Ubuntu package) - update to 17.11.2-1ubuntu0.1~esm4
libslurm34 (Ubuntu package) - update to 19.05.5-1ubuntu0.1~esm1
libslurm-perl (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-sview (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-torque (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-basic-plugins (Ubuntu package) - update to Ubuntu Pro
libslurmdb-perl (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-slurmdbd (Ubuntu package) - update to Ubuntu Pro
libpmi0 (Ubuntu package) - update to Ubuntu Pro
slurm-wlm (Ubuntu package) - update to Ubuntu Pro
libpam-slurm (Ubuntu package) - update to Ubuntu Pro
slurm-wlm-torque (Ubuntu package) - update to Ubuntu Pro
pdsh-netgroup - update to 2.34-7.32.1
pdsh-netgroup-debuginfo - update to 2.34-7.32.1
pdsh-slurm - update to 2.34-7.32.1
pdsh-slurm-debuginfo - update to 2.34-7.32.1
pdsh-slurm_18_08 - update to 2.34-7.32.1
pdsh-slurm_18_08-debuginfo - update to 2.34-7.32.1
pdsh-slurm_20_02 - update to 2.34-7.32.1
pdsh-slurm_20_02-debuginfo - update to 2.34-7.32.1
pdsh-slurm_20_11 - update to 2.34-7.32.1
pdsh-slurm_20_11-debuginfo - update to 2.34-7.32.1
pdsh_slurm_18_08-debugsource - update to 2.34-7.32.1
pdsh_slurm_20_02-debugsource - update to 2.34-7.32.1
pdsh_slurm_20_11-debugsource - update to 2.34-7.32.1
pdsh-dshgroup - update to 2.34-7.32.1
pdsh-machines - update to 2.34-7.32.1
pdsh - update to 2.34-7.32.1
pdsh-debuginfo - update to 2.34-7.32.1
pdsh-debugsource - update to 2.34-7.32.1
pdsh-machines-debuginfo - update to 2.34-7.32.1
pdsh-dshgroup-debuginfo - update to 2.34-7.32.1
pdsh-genders - update to 2.34-7.32.1
pdsh-genders-debuginfo - update to 2.34-7.32.1
slurm - update to 17.02.9-2.fc27
slurm_20_11-munge - update to 20.11.4-3.5.1
slurm_20_11-munge-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-node - update to 20.11.4-3.5.1
slurm_20_11-node-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-pam_slurm - update to 20.11.4-3.5.1
slurm_20_11-pam_slurm-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-plugins - update to 20.11.4-3.5.1
slurm_20_11-plugins-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-slurmdbd - update to 20.11.4-3.5.1
slurm_20_11-slurmdbd-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-sql - update to 20.11.4-3.5.1
slurm_20_11-sql-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-webdoc - update to 20.11.4-3.5.1
slurm_20_11-torque-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-torque - update to 20.11.4-3.5.1
slurm_20_11-sview-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-sview - update to 20.11.4-3.5.1
slurm_20_11-config - update to 20.11.4-3.5.1
slurm_20_11-lua - update to 20.11.4-3.5.1
slurm_20_11-lua-debuginfo - update to 20.11.4-3.5.1
libnss_slurm2_20_11 - update to 20.11.4-3.5.1
libnss_slurm2_20_11-debuginfo - update to 20.11.4-3.5.1
libpmi0_20_11 - update to 20.11.4-3.5.1
libpmi0_20_11-debuginfo - update to 20.11.4-3.5.1
libslurm36 - update to 20.11.4-3.5.1
libslurm36-debuginfo - update to 20.11.4-3.5.1
perl-slurm_20_11 - update to 20.11.4-3.5.1
perl-slurm_20_11-debuginfo - update to 20.11.4-3.5.1
slurm_20_11 - update to 20.11.4-3.5.1
slurm_20_11-auth-none - update to 20.11.4-3.5.1
slurm_20_11-auth-none-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-config-man - update to 20.11.4-3.5.1
slurm_20_11-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-debugsource - update to 20.11.4-3.5.1
slurm_20_11-devel - update to 20.11.4-3.5.1
slurm_20_11-doc - update to 20.11.4-3.5.1
libslurmdb26 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.6.5-1ubuntu0.1~esm5
libslurm26 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.6.5-1ubuntu0.1~esm5
slurmctld (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurmd (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurmdbd (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
sview (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurm-client (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
libslurmdb29 (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4
libslurm29 (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4
slurm-client-emulator (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurm-wlm-emulator (Ubuntu package) - addressed in versions Ubuntu Pro, 15.08.7-1ubuntu0.1~esm4, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
slurm-wlm-basic-plugins (Ubuntu package) - addressed in versions Ubuntu Pro, 17.11.2-1ubuntu0.1~esm4, 19.05.5-1ubuntu0.1~esm1
libslurm32 (Ubuntu package) - update to 17.11.2-1ubuntu0.1~esm4
libslurmdb32 (Ubuntu package) - update to 17.11.2-1ubuntu0.1~esm4
libslurm34 (Ubuntu package) - update to 19.05.5-1ubuntu0.1~esm1
libslurm-perl (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-sview (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-torque (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-basic-plugins (Ubuntu package) - update to Ubuntu Pro
libslurmdb-perl (Ubuntu package) - update to Ubuntu Pro
slurm-llnl-slurmdbd (Ubuntu package) - update to Ubuntu Pro
libpmi0 (Ubuntu package) - update to Ubuntu Pro
slurm-wlm (Ubuntu package) - update to Ubuntu Pro
libpam-slurm (Ubuntu package) - update to Ubuntu Pro
slurm-wlm-torque (Ubuntu package) - update to Ubuntu Pro
pdsh-netgroup - update to 2.34-7.32.1
pdsh-netgroup-debuginfo - update to 2.34-7.32.1
pdsh-slurm - update to 2.34-7.32.1
pdsh-slurm-debuginfo - update to 2.34-7.32.1
pdsh-slurm_18_08 - update to 2.34-7.32.1
pdsh-slurm_18_08-debuginfo - update to 2.34-7.32.1
pdsh-slurm_20_02 - update to 2.34-7.32.1
pdsh-slurm_20_02-debuginfo - update to 2.34-7.32.1
pdsh-slurm_20_11 - update to 2.34-7.32.1
pdsh-slurm_20_11-debuginfo - update to 2.34-7.32.1
pdsh_slurm_18_08-debugsource - update to 2.34-7.32.1
pdsh_slurm_20_02-debugsource - update to 2.34-7.32.1
pdsh_slurm_20_11-debugsource - update to 2.34-7.32.1
pdsh-dshgroup - update to 2.34-7.32.1
pdsh-machines - update to 2.34-7.32.1
pdsh - update to 2.34-7.32.1
pdsh-debuginfo - update to 2.34-7.32.1
pdsh-debugsource - update to 2.34-7.32.1
pdsh-machines-debuginfo - update to 2.34-7.32.1
pdsh-dshgroup-debuginfo - update to 2.34-7.32.1
pdsh-genders - update to 2.34-7.32.1
pdsh-genders-debuginfo - update to 2.34-7.32.1
slurm - update to 17.02.9-2.fc27
slurm_20_11-munge - update to 20.11.4-3.5.1
slurm_20_11-munge-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-node - update to 20.11.4-3.5.1
slurm_20_11-node-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-pam_slurm - update to 20.11.4-3.5.1
slurm_20_11-pam_slurm-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-plugins - update to 20.11.4-3.5.1
slurm_20_11-plugins-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-slurmdbd - update to 20.11.4-3.5.1
slurm_20_11-slurmdbd-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-sql - update to 20.11.4-3.5.1
slurm_20_11-sql-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-webdoc - update to 20.11.4-3.5.1
slurm_20_11-torque-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-torque - update to 20.11.4-3.5.1
slurm_20_11-sview-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-sview - update to 20.11.4-3.5.1
slurm_20_11-config - update to 20.11.4-3.5.1
slurm_20_11-lua - update to 20.11.4-3.5.1
slurm_20_11-lua-debuginfo - update to 20.11.4-3.5.1
libnss_slurm2_20_11 - update to 20.11.4-3.5.1
libnss_slurm2_20_11-debuginfo - update to 20.11.4-3.5.1
libpmi0_20_11 - update to 20.11.4-3.5.1
libpmi0_20_11-debuginfo - update to 20.11.4-3.5.1
libslurm36 - update to 20.11.4-3.5.1
libslurm36-debuginfo - update to 20.11.4-3.5.1
perl-slurm_20_11 - update to 20.11.4-3.5.1
perl-slurm_20_11-debuginfo - update to 20.11.4-3.5.1
slurm_20_11 - update to 20.11.4-3.5.1
slurm_20_11-auth-none - update to 20.11.4-3.5.1
slurm_20_11-auth-none-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-config-man - update to 20.11.4-3.5.1
slurm_20_11-debuginfo - update to 20.11.4-3.5.1
slurm_20_11-debugsource - update to 20.11.4-3.5.1
slurm_20_11-devel - update to 20.11.4-3.5.1
slurm_20_11-doc - update to 20.11.4-3.5.1