USN-4781-1
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: Run `sudo pro fix USN-4781-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libpmi0-dev - 19.05.5-1ubuntu0.1~esm1 slurmctld - 19.05.5-1ubuntu0.1~esm1 slurm-wlm-basic-plugins-dev - 19.05.5-1ubuntu0.1~esm1 libslurmdb-perl - 19.05.5-1ubuntu0.1~esm1 libpmi0 - 19.05.5-1ubuntu0.1~esm1 slurm-wlm - 19.05.5-1ubuntu0.1~esm1 libslurm-dev - 19.05.5-1ubuntu0.1~esm1 slurm-client - 19.05.5-1ubuntu0.1~esm1 libpam-slurm - 19.05.5-1ubuntu0.1~esm1 slurmd - 19.05.5-1ubuntu0.1~esm1 slurm-wlm-torque - 19.05.5-1ubuntu0.1~esm1 slurm-client-emulator - 19.05.5-1ubuntu0.1~esm1 libpam-slurm-adopt - 19.05.5-1ubuntu0.1~esm1 slurm-wlm-emulator - 19.05.5-1ubuntu0.1~esm1 libpmi2-0 - 19.05.5-1ubuntu0.1~esm1 slurmdbd - 19.05.5-1ubuntu0.1~esm1 slurm-wlm-doc - 19.05.5-1ubuntu0.1~esm1 libslurm34 - 19.05.5-1ubuntu0.1~esm1 libpmi2-0-dev - 19.05.5-1ubuntu0.1~esm1 libslurm-perl - 19.05.5-1ubuntu0.1~esm1 sview - 19.05.5-1ubuntu0.1~esm1 slurm-wlm-basic-plugins - 19.05.5-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC
Upstream Advisory
Affected Packages
slurmctld 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libpmi0-dev 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-wlm-basic-plugins-dev 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libslurmdb-perl 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libpmi0 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-wlm 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libslurm-dev 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-client 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libpam-slurm 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurmd 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-wlm-torque 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-client-emulator 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libpam-slurm-adopt 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-wlm-emulator 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libpmi2-0 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurmdbd 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-wlm-doc 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libslurm34 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libpmi2-0-dev 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
libslurm-perl 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
sview 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1
slurm-wlm-basic-plugins 19.05.5-1ubuntu0.1~esm1-19.05.5-1ubuntu0.1~esm1