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FmjJ8dBmCx2J2WWW7etTbyU356AvZeLAiwMoGY4z
ZREemM6s2hdI6eKbartF3u+aQN8k72X8hfgAM3dl0nvfhx22CaqsR0rDk3A0tYS2
QOLnkzXpulEhidStLVLkRJw59eK4vu2CYZ37923vCvTlBctYHiRudTXQUaRQYiA+
jLdWiGiYWm6wN9TybY9GO7RY06Su1aQ2BMN8w3Why3rsRJK1ABEBAAHCwXwEGAEK
ACYWIQRmPl6KvV7s61wsJdiGpzzPhU7LmgUCYzRcLAIbDAUJAeEzgAAKCRCGpzzP
hU7Lmq0WD/46MGGZbPLp7XFh+rlotr1GBLZ0jwudoT8kkKHRpoMKRt4OZuOBjio7
3bXh74bscu1vmS1b35QvfIfiVrNOmQ8g9794598gpS7izrC/eJfenei93dqnwAMU
hEB16dEIbIevZUT3uYHNd6LgCVLdGLeauhAUZrfZ/NLvChw8+8I1Hn3Fhe5ablV7
ZfiOY/h/fC5MChBGH1izOFBkLEEeeAuaOTJKn4EYZFMitD69YGM621vCtC4jkI2g
bar8O0U9t3gyAS0WbtDz4UoMhdXOY4LIUH5KvvUby1lJq+LdS39HGvgtI+Exme0P
XajNpZBA/axARaUGyulxoz5+Y9InR0b4cIIMXWONVQ1pRglFEw6JrBvLcwS3SCfq
LW/p1ADFcLMcYMFQmJh7IYCD14gPreDELq+gmo57qDmHzaCQbh0XZB84qhIfS/cb
BFqT+0ccCLiTzAbyJeFAEu10KzLVBdUy/dysfHFevTrurObyK99MD1+6RIvNShds
gEMF3sanW3yugha6XoSd855nwiJBOJD8zff201m0IH/Dxzu/EC7zfG/SqoywZnGR
+N4bNLderqMXCgcyTcaLopQgExFMQoUmlRSHUGgPx5uXRkoTqY1V24c33lHp6G9G
GVCAGQawnWBNaJmlqoUcbIueao+hlICYiwhG/ZIP9jUceNt1LyJi9A==
=RGXl
-----END PGP PUBLIC KEY BLOCK-----
==========================================================================
Ubuntu Security Notice USN-4781-2
February 01, 2023

slurm-llnl vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 16.04 ESM
- Ubuntu 14.04 ESM

Summary:

Several security issues were fixed in Slurm.

Software Description:
- slurm-llnl: Simple Linux Utility for Resource Management

Details:

USN-4781-1 fixed several vulnerabilities in Slurm. This update provides
the corresponding updates for Ubuntu 14.04 ESM (CVE-2016-10030) and
Ubuntu 16.04 ESM (CVE-2018-10995).

Original advisory 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 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:

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

Ubuntu 16.04 ESM:
  libpam-slurm                    15.08.7-1ubuntu0.1~esm5
  libpmi0                         15.08.7-1ubuntu0.1~esm5
  libslurm-perl                   15.08.7-1ubuntu0.1~esm5
  libslurm29                      15.08.7-1ubuntu0.1~esm5
  libslurmdb-perl                 15.08.7-1ubuntu0.1~esm5
  libslurmdb29                    15.08.7-1ubuntu0.1~esm5
  slurm-client                    15.08.7-1ubuntu0.1~esm5
  slurm-client-emulator           15.08.7-1ubuntu0.1~esm5
  slurm-llnl                      15.08.7-1ubuntu0.1~esm5
  slurm-llnl-slurmdbd             15.08.7-1ubuntu0.1~esm5
  slurm-wlm                       15.08.7-1ubuntu0.1~esm5
  slurm-wlm-basic-plugins         15.08.7-1ubuntu0.1~esm5
  slurm-wlm-emulator              15.08.7-1ubuntu0.1~esm5
  slurm-wlm-torque                15.08.7-1ubuntu0.1~esm5
  slurmctld                       15.08.7-1ubuntu0.1~esm5
  slurmd                          15.08.7-1ubuntu0.1~esm5
  slurmdbd                        15.08.7-1ubuntu0.1~esm5
  sview                           15.08.7-1ubuntu0.1~esm5

Ubuntu 14.04 ESM:
  libpam-slurm                    2.6.5-1ubuntu0.1~esm6
  libpmi0                         2.6.5-1ubuntu0.1~esm6
  libslurm-perl                   2.6.5-1ubuntu0.1~esm6
  libslurm26                      2.6.5-1ubuntu0.1~esm6
  libslurmdb-perl                 2.6.5-1ubuntu0.1~esm6
  libslurmdb26                    2.6.5-1ubuntu0.1~esm6
  slurm-llnl                      2.6.5-1ubuntu0.1~esm6
  slurm-llnl-basic-plugins        2.6.5-1ubuntu0.1~esm6
  slurm-llnl-slurmdbd             2.6.5-1ubuntu0.1~esm6
  slurm-llnl-sview                2.6.5-1ubuntu0.1~esm6
  slurm-llnl-torque               2.6.5-1ubuntu0.1~esm6

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

References:
  https://ubuntu.com/security/notices/USN-4781-2
  https://ubuntu.com/security/notices/USN-4781-1
  CVE-2016-10030, CVE-2018-10995

No comments:

Post a Comment