-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2023.6296
                     USN-6458-1: Slurm vulnerabilities
                              31 October 2023

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Slurm
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-29502 CVE-2022-29501 CVE-2022-29500

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-6458-1

Comment: CVSS (Max):  None available when published

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-6458-1: Slurm vulnerabilities

30 October 2023

Several security issues were fixed in Slurm.

Releases

  o Ubuntu 22.04 LTS
  o Ubuntu 20.04 LTS

Packages

  o slurm-llnl - Simple Linux Utility for Resource Management
  o slurm-wlm - Simple Linux Utility for Resource Management

Details

It was discovered that Slurm did not properly handle credential
management, which could allow an unprivileged user to impersonate the
SlurmUser account. An attacker could possibly use this issue to execute
arbitrary code as the root user. ( CVE-2022-29500 )

It was discovered that Slurm did not properly handle access control when
dealing with RPC traffic through PMI2 and PMIx, which could allow an
unprivileged user to send data to an arbitrary unix socket in the host.
An attacker could possibly use this issue to execute arbitrary code as
the root user. ( CVE-2022-29501 )

It was discovered that Slurm did not properly handle validation logic when
processing input and output data with the srun client, which could lead to
the interception of process I/O. An attacker could possibly use this issue
to expose sensitive information or execute arbitrary code. This issue only
affected Ubuntu 22.04 LTS. ( CVE-2022-29502 )

Update instructions

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

Ubuntu 22.04

  o libpam-slurm - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o libpmi0 - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o libpmi2-0 - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o libslurm-perl - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o libslurm37 - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o libslurmdb-perl - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurm-client - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurm-wlm - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurm-wlm-basic-plugins - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurmctld - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurmd - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurmdbd - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro
  o slurmrestd - 21.08.5-2ubuntu1+esm1
    Available with Ubuntu Pro

Ubuntu 20.04

  o libpam-slurm - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o libpmi0 - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o libpmi2-0 - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o libslurm-perl - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o libslurm34 - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o libslurmdb-perl - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o slurm-client - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o slurm-wlm - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o slurm-wlm-basic-plugins - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o slurmctld - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o slurmd - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro
  o slurmdbd - 19.05.5-1ubuntu0.1~esm2
    Available with Ubuntu Pro

After a standard system update you need to restart Slurm to make all the
necessary changes.

References

  o CVE-2022-29501
  o CVE-2022-29500
  o CVE-2022-29502

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBZUBJ1skNZI30y1K9AQgJRxAAi434YLAZ16H2OFaKLTlKq/RiFIWWZxj9
APXhmCO2dWTqDKxK6ITN1m3pqCw9givPkak0lKYcmK6ivHBaGKdqslwzCfrOoC9N
W2PXLDNNN5pM1vjjgiTFzopwoIrG2VXhb1C1DgguCwIHRE3TR0wZMVSY/vO6/F7f
bS8M2EiGPrli6QPiAtqfqF5NjMYZL+C/ngXHlJAKAN4jPk8TJeNgsFo32ghzNj+Z
ZwDIhfCLceFe9DhyHjJNL05HRdXLi513sJqsvb+JbophfvA2wOH3Lv9tcaFxKCLh
CH3Niwuv1Nlm9sTrMnZ4iVsPEwdR7TP60cPVdhoZfyXh+hjDw758W9IpYScS3VIw
LNto0V29ZC7FlThLbNH5qCkVovf2uB/92L4c3ZeDvK7fJ1BBPRjR0p4su37GPtGU
1MwANNMfh/P+UcKK1NCTWfGKmNuHxQc6lyURrQ5FZsgc//t4AOZCaCh3BYbrYDBL
NKh2GFC3043LvDJElvJsYnujFBRzHqU0EJDwBtq1gP895MdMBXfmeQY1/X03eV1a
+CiY27qqa/wpDKLIkBNku0eu8XchpzQropgUq9s/Mnx8eC+GgYkLGc96FJsFmV/Y
ELPllwxZR67rW3htnBSVXJTuruAgtgWfiKqoXZOKbwwP6iOAnp8stEzxL7nmc865
BndnHqC0v+g=
=hewo
-----END PGP SIGNATURE-----