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

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

                              ESB-2021.0202.2
                      Security update for slurm_20_02
                              20 January 2021

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

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

Product:           slurm_20_02
Publisher:         SUSE
Operating System:  SUSE
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-27746 CVE-2020-27745 

Reference:         ESB-2020.4537
                   ESB-2020.4501
                   ESB-2020.4484
                   ESB-2020.4176

Original Bulletin: 
   https://www.suse.com/support/update/announcement/2021/suse-su-20210139-1
   https://www.suse.com/support/update/announcement/2021/suse-su-20210155-1

Comment: This bulletin contains two (2) SUSE security advisories.

Revision History:  January 20 2021: Vendor released associated advisory
                   January 18 2021: Initial Release

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

SUSE Security Update: Security update for slurm_20_02

______________________________________________________________________________

Announcement ID:   SUSE-SU-2021:0139-1
Rating:            moderate
References:        #1178890 #1178891
Cross-References:  CVE-2020-27745 CVE-2020-27746
Affected Products:
                   SUSE Linux Enterprise Module for HPC 15-SP1
______________________________________________________________________________

An update that fixes two vulnerabilities is now available.

Description:

This update for slurm_20_02 fixes the following issues:
Updated to 20.02.6, addresses two security fixes:
* PMIx - fix potential buffer overflows from use of unpackmem(). CVE-2020-27745
(bsc#1178890) * X11 forwarding - fix potential leak of the magic cookie when
sent as an argument to the xauth command. CVE-2020-27746 (bsc#1178891)
And many other bugfixes, full log and details available at: * https://
lists.schedmd.com/pipermail/slurm-announce/2020/000045.html
Updated to 20.02.5, changes:
* Fix leak of TRESRunMins when job time is changed with --time-min * pam_slurm
- - explicitly initialize slurm config to support configless mode. * scontrol -
Fix exit code when creating/updating reservations with wrong Flags. * When a
GRES has a no_consume flag, report 0 for allocated. * Fix cgroup cleanup by
jobacct_gather/cgroup. * When creating reservations/jobs don't allow counts on
a feature unless using an XOR. * Improve number of boards discovery * Fix
updating a reservation NodeCnt on a zero-count reservation. * slurmrestd -
provide an explicit error messages when PSK auth fails. * cons_tres - fix job
requesting single gres per-node getting two or more nodes with less CPUs than
requested per-task. * cons_tres - fix calculation of cores when using gres and
cpus-per-task. * cons_tres - fix job not getting access to socket without GPU
or with less than --gpus-per-socket when not enough cpus available on required
socket and not using --gres-flags=enforce binding. * Fix HDF5 type version
build error. * Fix creation of CoreCnt only reservations when the first node
isn't available. * Fix wrong DBD Agent queue size in sdiag when using
accounting_storage/none. * Improve job constraints XOR option logic. * Fix
preemption of hetjobs when needed nodes not in leader component. * Fix wrong
bit_or() messing potential preemptor jobs node bitmap, causing bad node
deallocations and even allocation of nodes from other partitions. * Fix
double-deallocation of preempted non-leader hetjob components. * slurmdbd -
prevent truncation of the step nodelists over 4095. * Fix nodes remaining in
drain state state after rebooting with ASAP option.
changes from 20.02.4:
* srun - suppress job step creation warning message when waiting on
PrologSlurmctld. * slurmrestd - fix incorrect return values in
data_list_for_each() functions. * mpi/pmix - fix issue where HetJobs could fail
to launch. * slurmrestd - set content-type header in responses. * Fix cons_res
GRES overallocation for --gres-flags=disable-binding. * Fix cons_res
incorrectly filtering cores with respect to GRES locality for --gres-flags=
disable-binding requests. * Fix regression where a dependency on multiple jobs
in a single array using underscores would only add the first job. * slurmrestd
- - fix corrupted output due to incorrect use of memcpy(). * slurmrestd - address
a number of minor Coverity warnings. * Handle retry failure when slurmstepd is
communicating with srun correctly. * Fix jobacct_gather possibly duplicate
stats when _is_a_lwp error shows up. * Fix tasks binding to GRES which are
closest to the allocated CPUs. * Fix AMD GPU ROCM 3.5 support. * Fix handling
of job arrays in sacct when querying specific steps. * slurmrestd - avoid
fallback to local socket authentication if JWT authentication is ill-formed. *
slurmrestd - restrict ability of requests to use different authentication
plugins. * slurmrestd - unlink named unix sockets before closing. * slurmrestd
- - fix invalid formatting in openapi.json. * Fix batch jobs stuck in CF state on
FrontEnd mode. * Add a separate explicit error message when rejecting changes
to active node features. * cons_common/job_test - fix slurmctld SIGABRT due to
double-free. * Fix updating reservations to set the duration correctly if
updating the start time. * Fix update reservation to promiscuous mode. * Fix
override of job tasks count to max when ntasks-per-node present. * Fix min CPUs
per node not being at least CPUs per task requested. * Fix CPUs allocated to
match CPUs requested when requesting GRES and threads per core equal to one. *
Fix NodeName config parsing with Boards and without CPUs. * Ensure
SLURM_JOB_USER and SLURM_JOB_UID are set in SrunProlog/Epilog. * Fix error
messages for certain invalid salloc/sbatch/srun options. * pmi2 - clean up
sockets at step termination. * Fix 'scontrol hold' to work with 'JobName'. *
sbatch - handle --uid/--gid in #SBATCH directives properly. * Fix race
condition in job termination on slurmd. * Print specific error messages if
trying to run use certain priority/multifactor factors that cannot work without
SlurmDBD. * Avoid partial GRES allocation when --gpus-per-job is not satisfied.
* Cray - Avoid referencing a variable outside of it's correct scope when
dealing with creating steps within a het job. * slurmrestd - correctly handle
larger addresses from accept(). * Avoid freeing wrong pointer with
SlurmctldParameters=max_dbd_msg_action with another option after that. *
Restore MCS label when suspended job is resumed. * Fix insufficient lock
levels. * slurmrestd - use errno from job submission. * Fix "user" filter for
sacctmgr show transactions. * Fix preemption logic. * Fix no_consume GRES for
exclusive (whole node) requests. * Fix regression in 20.02 that caused an
infinite loop in slurmctld when requesting --distribution=plane for the job. *
Fix parsing of the --distribution option. * Add CONF READ_LOCK to
_handle_fed_send_job_sync. * prep/script - always call slurmctld PrEp callback
in _run_script(). * Fix node estimation for jobs that use GPUs or
- --cpus-per-task. * Fix jobcomp, job_submit and cli_filter Lua implementation
plugins causing slurmctld and/or job submission CLI tools segfaults due to bad
return handling when the respective Lua script failed to load. * Fix
propagation of gpu options through hetjob components. * Add SLURM_CLUSTERS
environment variable to scancel. * Fix packing/unpacking of "unlinked" jobs. *
Connect slurmstepd's stderr to srun for steps launched with --pty. * Handle MPS
correctly when doing exclusive allocations. * slurmrestd - fix compiling
against libhttpparser in a non-default path. * slurmrestd - avoid compilation
issues with libhttpparser < 2.6. * Fix compile issues when compiling slurmrestd
without --enable-debug. * Reset idle time on a reservation that is getting
purged. * Fix reoccurring reservations that have Purge_comp= to keep correct
duration if they are purged. * scontrol - changed the "PROMISCUOUS" flag to
"MAGNETIC" * Early return from epilog_set_env in case of no_consume. * Fix
cons_common/job_test start time discovery logic to prevent skewed results
between "will run test" executions. * Ensure TRESRunMins limits are maintained
during "scontrol reconfigure". * Improve error message when host lookup fails.

Patch Instructions:

To install this SUSE Security Update use the SUSE recommended installation
methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  o SUSE Linux Enterprise Module for HPC 15-SP1:
    zypper in -t patch SUSE-SLE-Module-HPC-15-SP1-2021-139=1

Package List:

  o SUSE Linux Enterprise Module for HPC 15-SP1 (aarch64 x86_64):
       libnss_slurm2_20_02-20.02.6-3.16.1
       libnss_slurm2_20_02-debuginfo-20.02.6-3.16.1
       libpmi0_20_02-20.02.6-3.16.1
       libpmi0_20_02-debuginfo-20.02.6-3.16.1
       libslurm35-20.02.6-3.16.1
       libslurm35-debuginfo-20.02.6-3.16.1
       perl-slurm_20_02-20.02.6-3.16.1
       perl-slurm_20_02-debuginfo-20.02.6-3.16.1
       slurm_20_02-20.02.6-3.16.1
       slurm_20_02-auth-none-20.02.6-3.16.1
       slurm_20_02-auth-none-debuginfo-20.02.6-3.16.1
       slurm_20_02-config-20.02.6-3.16.1
       slurm_20_02-config-man-20.02.6-3.16.1
       slurm_20_02-debuginfo-20.02.6-3.16.1
       slurm_20_02-debugsource-20.02.6-3.16.1
       slurm_20_02-devel-20.02.6-3.16.1
       slurm_20_02-doc-20.02.6-3.16.1
       slurm_20_02-lua-20.02.6-3.16.1
       slurm_20_02-lua-debuginfo-20.02.6-3.16.1
       slurm_20_02-munge-20.02.6-3.16.1
       slurm_20_02-munge-debuginfo-20.02.6-3.16.1
       slurm_20_02-node-20.02.6-3.16.1
       slurm_20_02-node-debuginfo-20.02.6-3.16.1
       slurm_20_02-pam_slurm-20.02.6-3.16.1
       slurm_20_02-pam_slurm-debuginfo-20.02.6-3.16.1
       slurm_20_02-plugins-20.02.6-3.16.1
       slurm_20_02-plugins-debuginfo-20.02.6-3.16.1
       slurm_20_02-slurmdbd-20.02.6-3.16.1
       slurm_20_02-slurmdbd-debuginfo-20.02.6-3.16.1
       slurm_20_02-sql-20.02.6-3.16.1
       slurm_20_02-sql-debuginfo-20.02.6-3.16.1
       slurm_20_02-sview-20.02.6-3.16.1
       slurm_20_02-sview-debuginfo-20.02.6-3.16.1
       slurm_20_02-torque-20.02.6-3.16.1
       slurm_20_02-torque-debuginfo-20.02.6-3.16.1
       slurm_20_02-webdoc-20.02.6-3.16.1


References:

  o https://www.suse.com/security/cve/CVE-2020-27745.html
  o https://www.suse.com/security/cve/CVE-2020-27746.html
  o https://bugzilla.suse.com/1178890
  o https://bugzilla.suse.com/1178891

- -----------------------------------------------------------------------------


SUSE Security Update: Security update for slurm

______________________________________________________________________________

Announcement ID:   SUSE-SU-2021:0155-1
Rating:            important
References:        #1178890
Cross-References:  CVE-2020-27745
Affected Products:
                   SUSE Linux Enterprise Module for HPC 12
______________________________________________________________________________

An update that fixes one vulnerability is now available.

Description:

This update for slurm fixes the following issues:
CVE-2020-27745: PMIx - fix potential buffer overflows from use of unpackmem().
(bsc#1178890)

Patch Instructions:

To install this SUSE Security Update use the SUSE recommended installation
methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  o SUSE Linux Enterprise Module for HPC 12:
    zypper in -t patch SUSE-SLE-Module-HPC-12-2021-155=1

Package List:

  o SUSE Linux Enterprise Module for HPC 12 (aarch64 x86_64):
       libpmi0-17.02.11-6.47.1
       libpmi0-debuginfo-17.02.11-6.47.1
       libslurm31-17.02.11-6.47.1
       libslurm31-debuginfo-17.02.11-6.47.1
       perl-slurm-17.02.11-6.47.1
       perl-slurm-debuginfo-17.02.11-6.47.1
       slurm-17.02.11-6.47.1
       slurm-auth-none-17.02.11-6.47.1
       slurm-auth-none-debuginfo-17.02.11-6.47.1
       slurm-config-17.02.11-6.47.1
       slurm-debuginfo-17.02.11-6.47.1
       slurm-debugsource-17.02.11-6.47.1
       slurm-devel-17.02.11-6.47.1
       slurm-doc-17.02.11-6.47.1
       slurm-lua-17.02.11-6.47.1
       slurm-lua-debuginfo-17.02.11-6.47.1
       slurm-munge-17.02.11-6.47.1
       slurm-munge-debuginfo-17.02.11-6.47.1
       slurm-pam_slurm-17.02.11-6.47.1
       slurm-pam_slurm-debuginfo-17.02.11-6.47.1
       slurm-plugins-17.02.11-6.47.1
       slurm-plugins-debuginfo-17.02.11-6.47.1
       slurm-sched-wiki-17.02.11-6.47.1
       slurm-slurmdb-direct-17.02.11-6.47.1
       slurm-slurmdbd-17.02.11-6.47.1
       slurm-slurmdbd-debuginfo-17.02.11-6.47.1
       slurm-sql-17.02.11-6.47.1
       slurm-sql-debuginfo-17.02.11-6.47.1
       slurm-torque-17.02.11-6.47.1
       slurm-torque-debuginfo-17.02.11-6.47.1


References:

  o https://www.suse.com/security/cve/CVE-2020-27745.html
  o https://bugzilla.suse.com/1178890

- --------------------------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: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYAdZL+NLKJtyKPYoAQgdWRAAq7rL5pr/uAYjoWWdSKe/3BzwAdPHXpuV
KBJTVJczn4UPc1q7tF4QA3z3H4nab6d21FV9WmHIiQU9W0bpVhj3688In305Izk0
ARj9JINA+zX2nXBbgc5VcaIirgCxU63H9xXitfDt9Sm5rKxqF/q80CN/dT63+bKa
zmVux692MfMIzgBUbTqBlBclFVi3GH7w9A1txqfktWW3ERy1GTHxaNpRbDLoT88J
Peom+4DS5w8OijgM/icpkROEkULzxHBElEmLiSV8+tJ64Qxus88y/Jzh3F2LPIec
93pM279SlO0vmPvr+HUOD+1UTwF9UQrjAH/ivqah80R430h556p34jj6b5rzqYuT
eA4MEGWEQyTPj1Iajx+CuX+t245A42ER587l2/IrWzrobF8AcYCuV+QR7o7mFtxJ
x8+5IG5LnuUn1taVvoldkMkqUAdja/3xf4K4ELcnMwc8orMvLxfMjCXG6PvS++II
1BqSWQ2F3w5EMEXMPcuX/gx3vvNlX40qkziL8yzfuIeuBNX4conz14Pl3goI01Gg
2w0ct9ECjrF9mI05Rx3q93RlJQF3eZrBSoESo/BEW0ZWfKHlp9BV2+fJpFM/H681
0AL0T72D00IhejFRX9vMW654fuIAiDxNdwaUlTTrf/ZUN+2j8qCCNGS3frIO2p6G
Q8L316nJmt4=
=2d16
-----END PGP SIGNATURE-----