{"id":"CVE-2021-31215","aliases":["DEBIAN-CVE-2021-31215","DLA-2886-1","EUVD-2021-18128","GHSA-wg2q-q9j3-c3v8","MGASA-2021-0253","SUSE-SU-2021:1787-1","SUSE-SU-2021:1788-1","SUSE-SU-2021:1789-1","SUSE-SU-2021:1790-1","SUSE-SU-2021:1791-1","SUSE-SU-2021:1793-1","SUSE-SU-2021:1810-1","SUSE-SU-2021:1811-1","SUSE-SU-2021:1855-1","SUSE-SU-2021:1856-1","SUSE-SU-2021:2295-1","SUSE-SU-2021:2473-1","UBUNTU-CVE-2021-31215","USN-4781-1","openSUSE-SU-2021:0821-1","openSUSE-SU-2024:11389-1"],"status":"published","title":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code...","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02902,"percentile":0.87152,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2021-05-13T05:51:41Z","modified":"2026-10-24T10:30:53Z","fixes":[{"ecosystem":"Debian:12","package":"slurm-wlm","fixed_in":["20.11.7+really20.11.4-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"slurm-wlm","fixed_in":["20.11.7+really20.11.4-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"slurm-wlm","fixed_in":["20.11.7+really20.11.4-2"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"slurm","fixed_in":["20.11.7-1.mga8"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm","fixed_in":["17.02.11-6.50.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm_18_08","fixed_in":["18.08.9-3.14.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm_20_02","fixed_in":["20.02.7-3.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm_20_02","fixed_in":["20.02.7-3.19.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm_20_02","fixed_in":["20.02.7-3.19.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm_20_11","fixed_in":["20.11.7-3.8.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm_20_11","fixed_in":["20.11.7-3.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm_20_11","fixed_in":["20.11.7-3.11.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP2","package":"slurm","fixed_in":["20.02.7-3.6.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm","fixed_in":["18.08.9-3.19.1","17.11.13-6.37.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm","fixed_in":["18.08.9-3.19.1","17.11.13-6.37.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"slurm","fixed_in":["17.11.13-6.37.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"slurm","fixed_in":["17.11.13-6.37.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"slurm_18_08","fixed_in":["18.08.9-1.14.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"slurm_18_08","fixed_in":["18.08.9-1.14.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP2","package":"slurm_20_11","fixed_in":["20.11.7-6.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2","package":"slurm_20_11","fixed_in":["20.11.7-6.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP3","package":"slurm","fixed_in":["20.11.7-4.3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"slurm-llnl","fixed_in":["2.6.5-1ubuntu0.1~esm5"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"slurm-llnl","fixed_in":["15.08.7-1ubuntu0.1~esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"slurm-llnl","fixed_in":["17.11.2-1ubuntu0.1~esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"slurm-llnl","fixed_in":["19.05.5-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"slurm","fixed_in":["20.02.7-lp152.2.6.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"slurm-wlm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7+really20.11.4-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"slurm-wlm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7+really20.11.4-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"slurm-wlm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7+really20.11.4-2"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.05.9-1+deb9u5"}]}],"versions":["16.05.9-1","16.05.9-1+deb9u1","16.05.9-1+deb9u2","16.05.9-1+deb9u3","16.05.9-1+deb9u4"],"bundled":4},{"source":"osv","ecosystem":"Mageia:8","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-1.mga8"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.02.11-6.50.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm_18_08","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.08.9-3.14.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm_20_02","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.02.7-3.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm_20_02","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.02.7-3.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm_20_02","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.02.7-3.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"slurm_20_11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-3.8.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm_20_11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-3.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm_20_11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-3.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP2","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.02.7-3.6.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.08.9-3.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.08.9-3.19.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11.13-6.37.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11.13-6.37.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11.13-6.37.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11.13-6.37.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"slurm_18_08","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.08.9-1.14.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"slurm_18_08","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.08.9-1.14.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP2","package":"slurm_20_11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-6.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2","package":"slurm_20_11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-6.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP3","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.11.7-4.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.5-1ubuntu0.1~esm5"}]}],"versions":["2.5.7-1","2.5.7-1build1","2.6.4-1ubuntu1","2.6.5-1","2.6.5-1ubuntu0.1~esm4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.08.7-1ubuntu0.1~esm4"}]}],"versions":["14.11.8-4","15.08.4-1build1","15.08.4-1build2","15.08.7-1","15.08.7-1build1","15.08.7-1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11.2-1ubuntu0.1~esm4"}]}],"versions":["17.02.6-1build1","17.02.9-1","17.11.2-1build1","17.11.2-1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"19.05.5-1ubuntu0.1~esm1"}]}],"versions":["19.05.3.2-2","19.05.3.2-2build1","19.05.5-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.5-1ubuntu0.1~esm5"}]}],"versions":["2.5.7-1","2.5.7-1build1","2.6.4-1ubuntu1","2.6.5-1","2.6.5-1ubuntu0.1~esm4"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.08.7-1ubuntu0.1~esm4"}]}],"versions":["14.11.8-4","15.08.4-1build1","15.08.4-1build2","15.08.7-1","15.08.7-1build1","15.08.7-1ubuntu0.1~esm3"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11.2-1ubuntu0.1~esm4"}]}],"versions":["17.02.6-1build1","17.02.9-1","17.11.2-1build1","17.11.2-1ubuntu0.1~esm3"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"slurm-llnl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"19.05.5-1ubuntu0.1~esm1"}]}],"versions":["19.05.3.2-2","19.05.3.2-2build1","19.05.5-1"],"bundled":9},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.02.7-lp152.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"slurm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.08.1-1.1"}]}],"bundled":12}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"schedmd","product":"slurm"}],"references":[{"url":"https://www.schedmd.com/news.php?id=248#OPT_248","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory","report"]},{"url":"https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00011.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31215"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/"},{"url":"https://github.com/advisories/GHSA-wg2q-q9j3-c3v8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-31215","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0253.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29040","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211787-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1186024","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-31215","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211788-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211789-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211790-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211791-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1180700","tags":["report"]},{"url":"https://bugzilla.suse.com/1185603","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211793-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211810-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211811-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211855-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211856-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20212295-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20212473-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-31215","tags":["report"]},{"url":"https://github.com/SchedMD/slurm/commit/a9e9e2fedbd200ca545ab67dd753bd52c919f236","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4781-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31215","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10030","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-15566","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-7033","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-10995","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-6438","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-12693","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-27745","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-27746","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KQZ3XESX2ESDFJO4Y7ZLU4AIJYQKBO4W/","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10030","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15566","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10995","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7033","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12838","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-19727","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-19728","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-6438","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-12693","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-27745","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-27746","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-31215","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2021-05-13T05:51:41Z","modified":"2024-08-03T22:55:53.511Z","updated_at":"2026-11-02T14:33:05.665371Z"}],"euvd":[{"id":"EUVD-2021-18128","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2021-05-13T05:51:41Z","modified":"2024-08-03T22:55:53Z","updated_at":"2026-11-03T03:24:39.559154Z"}],"ghsa":[{"id":"GHSA-wg2q-q9j3-c3v8","title":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code...","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2022-05-24T19:02:24Z","modified":"2023-01-29T05:06:41Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:46:04.961867Z"}],"nvd":[{"id":"CVE-2021-31215","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2021-05-13T06:15:07.18Z","modified":"2026-06-17T03:51:27.82Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:53.343329Z"}],"osv":[{"id":"CVE-2021-31215","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2021-05-13T06:15:07.18Z","modified":"2026-10-24T10:30:53.709590013Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"DEBIAN-CVE-2021-31215","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2021-05-13T06:15:07.18Z","modified":"2026-10-23T18:03:13.293667979Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"UBUNTU-CVE-2021-31215","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.","status":"published","published":"2021-05-13T06:15:00Z","modified":"2026-04-22T12:53:29.371659Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.332852Z"},{"id":"DLA-2886-1","title":"slurm-llnl - security update","status":"published","published":"2022-01-17T00:00:00Z","modified":"2026-03-09T01:19:17.568448Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2021-0253","title":"Updated slurm packages fix a security vulnerability","description":"SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows \nremote code execution as SlurmUser because use of a PrologSlurmctld or \nEpilogSlurmctld script leads to environment mishandling (CVE-2021-31215).\n","status":"published","published":"2021-06-13T21:32:39Z","modified":"2026-04-16T04:43:16.267680985Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2021:0821-1","title":"Security update for slurm","description":"This update for slurm fixes the following issues:\n\n- CVE-2021-31215: Fixed a environment mishandling that allowed remote code execution as SlurmUser (bsc#1186024).\n\nThis update was imported from the SUSE:SLE-15-SP2:Update update project.","status":"published","published":"2021-06-01T15:52:14Z","modified":"2025-05-07T18:12:48.475643Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2024:11389-1","title":"libnss_slurm2-21.08.1-1.1 on GA media","description":"These are all security issues fixed in the libnss_slurm2-21.08.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:24:07.524458Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"SUSE-SU-2021:1787-1","title":"Security update for slurm","description":"This update for slurm fixes the following issues:\n\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-05-27T14:48:42Z","modified":"2026-02-04T04:36:06.724226Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1788-1","title":"Security update for slurm_18_08","description":"This update for slurm_18_08 fixes the following issues:\n\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-05-27T14:48:51Z","modified":"2026-02-04T04:27:56.59031Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1789-1","title":"Security update for slurm_20_11","description":"This update for slurm_20_11 fixes the following issues:\n\n- Udpate to 20.02.7:\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-05-27T14:49:01Z","modified":"2025-05-02T04:31:24.629121Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1790-1","title":"Security update for slurm_20_11","description":"This update for slurm_20_11 fixes the following issues:\n\n- Udpate to 20.02.7:\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-05-27T14:49:40Z","modified":"2026-02-04T04:01:18.537542Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1791-1","title":"Security update for slurm_20_11","description":"This update for slurm_20_11 fixes the following issues:\n\n- Udpate to 20.11.7:\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n- Ship REST API version and auth plugins with slurmrestd.\n- Add YAML support for REST API to build (bsc#1185603).\n- Fix Provides:/Conflicts: for libnss_slurm (bsc#1180700).\n","status":"published","published":"2021-05-27T14:49:51Z","modified":"2026-02-04T02:22:50.372889Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1793-1","title":"Security update for slurm_20_11","description":"This update for slurm_20_11 fixes the following issues:\n\n- Udpate to 20.11.7:\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n- Ship REST API version and auth plugins with slurmrestd.\n- Add YAML support for REST API to build (bsc#1185603).\n- Fix Provides:/Conflicts: for libnss_slurm (bsc#1180700).\n","status":"published","published":"2021-05-27T15:12:33Z","modified":"2026-02-04T03:25:33.250859Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1810-1","title":"Security update for slurm","description":"This update for slurm fixes the following issues:\n\n- CVE-2021-31215: Fixed a environment mishandling that allowed remote code execution as SlurmUser (bsc#1186024).\n","status":"published","published":"2021-05-31T14:26:01Z","modified":"2026-02-04T03:53:39.624873Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1811-1","title":"Security update for slurm","description":"This update for slurm fixes the following issues:\n\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-05-31T14:26:37Z","modified":"2026-02-04T03:36:59.99899Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1855-1","title":"Security update for slurm","description":"This update for slurm fixes the following issues:\n\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-06-04T06:55:03Z","modified":"2026-02-04T03:27:06.004629Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:1856-1","title":"Security update for slurm_18_08","description":"This update for slurm_18_08 fixes the following issues:\n\n- CVE-2021-31215: remote code execution as SlurmUser because of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling (bsc#1186024)\n","status":"published","published":"2021-06-04T06:55:18Z","modified":"2026-02-04T04:08:41.537467Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:2295-1","title":"Security update for slurm_20_11","description":"This update for slurm_20_11 fixes the following issues:\n\nUpdated to 20.11.7 \n\nSummary of new features:\n\n* CVE-2021-31215: Fixed a remote code execution as SlurmUser (bsc#1186024).\n* slurmd - handle configless failures gracefully instead of hanging indefinitely.\n* select/cons_tres - fix Dragonfly topology not selecting nodes in the same\n  leaf switch when it should as well as requests with *-switches option.\n* Fix issue where certain step requests wouldn't run if the first node in the\n  job allocation was full and there were idle resources on other nodes in\n  the job allocation.\n* Fix deadlock issue with \u003cProlog|Epilog\u003eSlurmctld.\n* torque/qstat - fix printf error message in output.\n* When adding associations or wckeys avoid checking multiple times a user or cluster name.\n* Fix wrong jobacctgather information on a step on multiple nodes\n  due to timeouts sending its the information gathered on its node.\n* Fix missing xstrdup which could result in slurmctld segfault on array jobs.\n* Fix security issue in PrologSlurmctld and EpilogSlurmctld by always\n  prepending SPANK_ to all user-set environment variables. CVE-2021-31215.\n* Fix sacct assert with the --qos option.\n* Use pkg-config --atleast-version instead of --modversion for systemd.\n* common/fd - fix getsockopt() call in fd_get_socket_error().\n* Properly handle the return from fd_get_socket_error() in _conn_readable().\n* cons_res - Fix issue where running jobs were not taken into consideration\n  when creating a reservation.\n* Avoid a deadlock between job_list for_each and assoc QOS_LOCK.\n* Fix TRESRunMins usage for partition qos on restart/reconfig.\n* Fix printing of number of tasks on a completed job that didn't request tasks.\n* Fix updating GrpTRESRunMins when decrementing job time is bigger than it.\n* Make it so we handle multithreaded allocations correctly when doing\n  --exclusive or --core-spec allocations.\n* Fix incorrect round-up division in _pick_step_cores\n* Use appropriate math to adjust cpu counts when --ntasks-per-core=1.\n* cons_tres - Fix consideration of power downed nodes.\n* cons_tres - Fix DefCpuPerGPU, increase cpus-per-task to match with\n  gpus-per-task * cpus-per-gpu.\n* Fix under-cpu memory auto-adjustment when MaxMemPerCPU is set.\n* Make it possible to override CR_CORE_DEFAULT_DIST_BLOCK.\n* Perl API - fix retrieving/storing of slurm_step_id_t in job_step_info_t.\n* Recover state of burst buffers when slurmctld is restarted to avoid skipping\n  burst buffer stages.\n* Fix race condition in burst buffer plugin which caused a burst buffer\n  in stage-in to not get state saved if slurmctld stopped.\n* auth/jwt - print an error if jwt_file= has not been set in slurmdbd.\n* Fix RESV_DEL_HOLD not being a valid state when using squeue --states.\n* Add missing squeue selectable states in valid states error message.\n* Fix scheduling last array task multiple times on error, causing segfault.\n* Fix issue where a step could be allocated more memory than the job when\n  dealing with --mem-per-cpu and --threads-per-core.\n* Fix removing qos from assoc with -= can lead to assoc with no qos\n* auth/jwt - fix segfault on invalid credential in slurmdbd due to\n  missing validate_slurm_user() function in context.\n* Fix single Port= not being applied to range of nodes in slurm.conf\n* Fix Jobs not requesting a tres are not starting because of that tres limit.\n* acct_gather_energy/rapl - fix AveWatts calculation.\n* job_container/tmpfs - Fix issues with cleanup and slurmd restarting on\n  running jobs.\n","status":"published","published":"2021-07-12T06:27:12Z","modified":"2026-02-04T02:42:06.702087Z","updated_at":"2026-11-02T15:53:49.138643Z"},{"id":"SUSE-SU-2021:2473-1","title":"Security update for slurm","description":"This update for slurm fixes the following issues:\n\nUpdated to 20.11.7 \n\nSummary of new features:\n\n* CVE-2021-31215: Fixed a remote code execution as SlurmUser (bsc#1186024).\n* slurmd - handle configless failures gracefully instead of hanging indefinitely.\n* select/cons_tres - fix Dragonfly topology not selecting nodes in the same\n  leaf switch when it should as well as requests with *-switches option.\n* Fix issue where certain step requests wouldn't run if the first node in the\n  job allocation was full and there were idle resources on other nodes in\n  the job allocation.\n* Fix deadlock issue with \u003cProlog|Epilog\u003eSlurmctld.\n* torque/qstat - fix printf error message in output.\n* When adding associations or wckeys avoid checking multiple times a user or cluster name.\n* Fix wrong jobacctgather information on a step on multiple nodes\n  due to timeouts sending its the information gathered on its node.\n* Fix missing xstrdup which could result in slurmctld segfault on array jobs.\n* Fix security issue in PrologSlurmctld and EpilogSlurmctld by always\n  prepending SPANK_ to all user-set environment variables. CVE-2021-31215.\n* Fix sacct assert with the --qos option.\n* Use pkg-config --atleast-version instead of --modversion for systemd.\n* common/fd - fix getsockopt() call in fd_get_socket_error().\n* Properly handle the return from fd_get_socket_error() in _conn_readable().\n* cons_res - Fix issue where running jobs were not taken into consideration\n  when creating a reservation.\n* Avoid a deadlock between job_list for_each and assoc QOS_LOCK.\n* Fix TRESRunMins usage for partition qos on restart/reconfig.\n* Fix printing of number of tasks on a completed job that didn't request tasks.\n* Fix updating GrpTRESRunMins when decrementing job time is bigger than it.\n* Make it so we handle multithreaded allocations correctly when doing\n  --exclusive or --core-spec allocations.\n* Fix incorrect round-up division in _pick_step_cores\n* Use appropriate math to adjust cpu counts when --ntasks-per-core=1.\n* cons_tres - Fix consideration of power downed nodes.\n* cons_tres - Fix DefCpuPerGPU, increase cpus-per-task to match with\n  gpus-per-task * cpus-per-gpu.\n* Fix under-cpu memory auto-adjustment when MaxMemPerCPU is set.\n* Make it possible to override CR_CORE_DEFAULT_DIST_BLOCK.\n* Perl API - fix retrieving/storing of slurm_step_id_t in job_step_info_t.\n* Recover state of burst buffers when slurmctld is restarted to avoid skipping\n  burst buffer stages.\n* Fix race condition in burst buffer plugin which caused a burst buffer\n  in stage-in to not get state saved if slurmctld stopped.\n* auth/jwt - print an error if jwt_file= has not been set in slurmdbd.\n* Fix RESV_DEL_HOLD not being a valid state when using squeue --states.\n* Add missing squeue selectable states in valid states error message.\n* Fix scheduling last array task multiple times on error, causing segfault.\n* Fix issue where a step could be allocated more memory than the job when\n  dealing with --mem-per-cpu and --threads-per-core.\n* Fix removing qos from assoc with -= can lead to assoc with no qos\n* auth/jwt - fix segfault on invalid credential in slurmdbd due to\n  missing validate_slurm_user() function in context.\n* Fix single Port= not being applied to range of nodes in slurm.conf\n* Fix Jobs not requesting a tres are not starting because of that tres limit.\n* acct_gather_energy/rapl - fix AveWatts calculation.\n* job_container/tmpfs - Fix issues with cleanup and slurmd restarting on\n  running jobs.\n","status":"published","published":"2021-07-27T08:39:37Z","modified":"2026-02-04T02:50:11.199536Z","updated_at":"2026-11-02T15:53:49.605187Z"},{"id":"USN-4781-1","title":"slurm-llnl vulnerabilities","description":"It was discovered that Slurm incorrectly handled certain messages\nbetween the daemon and the user. An attacker could possibly use this\nissue to assume control of an arbitrary file on the system. This\nissue only affected Ubuntu 16.04 ESM.\n(CVE-2016-10030)\n\nIt was discovered that Slurm mishandled SPANK environment variables.\nAn attacker could possibly use this issue to gain elevated privileges.\nThis issue only affected Ubuntu 16.04 ESM. (CVE-2017-15566)\n\nIt was discovered that Slurm mishandled certain SQL queries. A local\nattacker could use this issue to gain elevated privileges. This\nissue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and\nUbuntu 18.04 ESM. (CVE-2018-7033)\n\nIt was discovered that Slurm mishandled user names and group ids. A local\nattacker could use this issue to gain administrative privileges.\nThis issue only affected Ubuntu 14.04 ESM and Ubuntu 18.04 ESM.\n(CVE-2018-10995)\n\nIt was discovered that Slurm mishandled 23-bit systems. A local attacker\ncould use this to gain administrative privileges. This issue only affected\nUbuntu 14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2019-6438)\n\nIt was discovered that Slurm incorrectly handled certain inputs\nwhen Message Aggregation is enabled. An attacker could possibly\nuse this issue to launch a process as an arbitrary user.\nThis issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM\nand Ubuntu 20.04 ESM. (CVE-2020-12693)\n\nIt was discovered that Slurm incorrectly handled certain RPC inputs.\nAn attacker could possibly use this issue to execute arbitrary code.\nThis issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM.\n(CVE-2020-27745)\n\nJonas Stare discovered that Slurm exposes sensitive information related\nto the X protocol. An attacker could possibly use this issue to obtain\na graphical session from an arbitrary user. This issue only affected\nUbuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-27746)\n\nIt was discovered that Slurm incorrectly handled environment parameters.\nAn attacker could possibly use this issue to execute arbitrary code.\n(CVE-2021-31215)\n","status":"published","published":"2022-05-25T10:41:59Z","modified":"2026-06-29T13:48:20.141080637Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
