SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.
https://www.schedmd.com/news.php?id=248#OPT_248
https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html
https://lists.debian.org/debian-lts-announce/2022/01/msg00011.html