USN-4781-1: Slurm vulnerabilities

Publication date

25 May 2022

Overview

Several security issues were fixed in Slurm.


Packages

  • slurm-llnl - Simple Linux Utility for Resource Management

Details

It was discovered that Slurm incorrectly handled certain messages
between the daemon and the user. An attacker could possibly use this
issue to assume control of an arbitrary file on the system. This
issue only affected Ubuntu 16.04 ESM.
(CVE-2016-10030)

It was discovered that Slurm mishandled SPANK environment variables.
An attacker could possibly use this issue to gain elevated privileges.
This issue only affected Ubuntu 16.04 ESM. (CVE-2017-15566)

It was discovered that Slurm mishandled certain SQL queries. A local
attacker could use this issue to gain elevated privileges. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and
Ubuntu 18.04 ESM. (CVE-2018-7033)

It was discovered that Slurm mishandled user names and group ids. A local
attacker could use this issue to gain administrative...

It was discovered that Slurm incorrectly handled certain messages
between the daemon and the user. An attacker could possibly use this
issue to assume control of an arbitrary file on the system. This
issue only affected Ubuntu 16.04 ESM.
(CVE-2016-10030)

It was discovered that Slurm mishandled SPANK environment variables.
An attacker could possibly use this issue to gain elevated privileges.
This issue only affected Ubuntu 16.04 ESM. (CVE-2017-15566)

It was discovered that Slurm mishandled certain SQL queries. A local
attacker could use this issue to gain elevated privileges. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and
Ubuntu 18.04 ESM. (CVE-2018-7033)

It was discovered that Slurm mishandled user names and group ids. A local
attacker could use this issue to gain administrative privileges.
This issue only affected Ubuntu 14.04 ESM and Ubuntu 18.04 ESM.
(CVE-2018-10995)

It was discovered that Slurm mishandled 23-bit systems. A local attacker
could use this to gain administrative privileges. This issue only affected
Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2019-6438)

It was discovered that Slurm incorrectly handled certain inputs
when Message Aggregation is enabled. An attacker could possibly
use this issue to launch a process as an arbitrary user.
This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM
and Ubuntu 20.04 ESM. (CVE-2020-12693)

It was discovered that Slurm incorrectly handled certain RPC inputs.
An attacker could possibly use this issue to execute arbitrary code.
This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM.
(CVE-2020-27745)

Jonas Stare discovered that Slurm exposes sensitive information related
to the X protocol. An attacker could possibly use this issue to obtain
a graphical session from an arbitrary user. This issue only affected
Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-27746)

It was discovered that Slurm incorrectly handled environment parameters.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2021-31215)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 focal slurmctld –  19.05.5-1ubuntu0.1~esm1  
slurm-wlm-emulator –  19.05.5-1ubuntu0.1~esm1  
libslurm34 –  19.05.5-1ubuntu0.1~esm1  
slurm-client –  19.05.5-1ubuntu0.1~esm1  
sview –  19.05.5-1ubuntu0.1~esm1  
slurm-wlm-basic-plugins –  19.05.5-1ubuntu0.1~esm1  
slurmdbd –  19.05.5-1ubuntu0.1~esm1  
slurmd –  19.05.5-1ubuntu0.1~esm1  
slurm-client-emulator –  19.05.5-1ubuntu0.1~esm1  
18.04 bionic libslurmdb32 –  17.11.2-1ubuntu0.1~esm4  
slurmctld –  17.11.2-1ubuntu0.1~esm4  
slurm-wlm-emulator –  17.11.2-1ubuntu0.1~esm4  
slurm-client –  17.11.2-1ubuntu0.1~esm4  
sview –  17.11.2-1ubuntu0.1~esm4  
libslurm32 –  17.11.2-1ubuntu0.1~esm4  
slurm-wlm-basic-plugins –  17.11.2-1ubuntu0.1~esm4  
slurmdbd –  17.11.2-1ubuntu0.1~esm4  
slurmd –  17.11.2-1ubuntu0.1~esm4  
slurm-client-emulator –  17.11.2-1ubuntu0.1~esm4  
16.04 xenial slurmctld –  15.08.7-1ubuntu0.1~esm4  
slurm-wlm-emulator –  15.08.7-1ubuntu0.1~esm4  
libslurmdb29 –  15.08.7-1ubuntu0.1~esm4  
libslurm29 –  15.08.7-1ubuntu0.1~esm4  
slurm-client –  15.08.7-1ubuntu0.1~esm4  
sview –  15.08.7-1ubuntu0.1~esm4  
slurmdbd –  15.08.7-1ubuntu0.1~esm4  
slurmd –  15.08.7-1ubuntu0.1~esm4  
slurm-client-emulator –  15.08.7-1ubuntu0.1~esm4  
14.04 trusty libslurmdb26 –  2.6.5-1ubuntu0.1~esm5  
slurm-llnl –  2.6.5-1ubuntu0.1~esm5  
libslurm26 –  2.6.5-1ubuntu0.1~esm5  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›