Improper access control in Slurm - CVE-2022-29502

 

Improper access control in Slurm - CVE-2022-29502

Published: May 9, 2022


Vulnerability identifier: #VU62863
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-29502
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions in the I/O key validation logic in the srun client command. A remote attacker can bypass implemented security restrictions and gain elevated privileges on the system.


Affected software

Slurm
Ubuntu
Fedora
slurm-wlm-basic-plugins (Ubuntu package)
slurmdbd (Ubuntu package)
libpmi2-0 (Ubuntu package)
slurmd (Ubuntu package)
libslurmdb-perl (Ubuntu package)
libpam-slurm (Ubuntu package)
slurmctld (Ubuntu package)
slurmrestd (Ubuntu package)
libpmi0 (Ubuntu package)
slurm-wlm (Ubuntu package)
libslurm-perl (Ubuntu package)
slurm-client (Ubuntu package)
libslurm37 (Ubuntu package)
slurm

How to mitigate CVE-2022-29502

Install update from vendor's website.

Slurm - addressed in versions 20.11.9, 21.08.8
slurm-wlm-basic-plugins (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurmdbd (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
libpmi2-0 (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurmd (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
libslurmdb-perl (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
libpam-slurm (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurmctld (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurmrestd (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
libpmi0 (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurm-wlm (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
libslurm-perl (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurm-client (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
libslurm37 (Ubuntu package) - update to 21.08.5-2ubuntu1+esm1
slurm - addressed in versions 21.08.8-1.fc37, 21.08.8-2.fc34, 21.08.8-2.fc35, 21.08.8-2.fc36

External References

Related Security Bulletins