UBUNTU-CVE-2021-31215

Source
https://ubuntu.com/security/CVE-2021-31215
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-31215.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-31215
Related
Published
2021-05-13T06:15:00Z
Modified
2024-10-15T14:08:08Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / slurm-llnl

Package

Name
slurm-llnl
Purl
pkg:deb/ubuntu/slurm-llnl?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.5-1ubuntu0.1~esm5

Affected versions

2.*

2.5.7-1
2.5.7-1build1
2.6.4-1ubuntu1
2.6.5-1
2.6.5-1ubuntu0.1~esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libpam-slurm"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libpam-slurm-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libpmi0"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libpmi0-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libpmi0-dev"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurm-dev"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurm-perl"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurm-perl-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurm26"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurm26-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurmdb-dev"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurmdb-perl"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurmdb-perl-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurmdb26"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "libslurmdb26-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-basic-plugins"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-basic-plugins-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-basic-plugins-dev"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-doc"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-slurmdbd"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-slurmdbd-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-sview"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-sview-dbgsym"
        },
        {
            "binary_version": "2.6.5-1ubuntu0.1~esm5",
            "binary_name": "slurm-llnl-torque"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / slurm-llnl

Package

Name
slurm-llnl
Purl
pkg:deb/ubuntu/slurm-llnl?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
15.08.7-1ubuntu0.1~esm4

Affected versions

14.*

14.11.8-4

15.*

15.08.4-1build1
15.08.4-1build2
15.08.7-1
15.08.7-1build1
15.08.7-1ubuntu0.1~esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libpam-slurm"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libpam-slurm-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libpmi0"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libpmi0-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libpmi0-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libpmi0-dev"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurm-dev"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurm-perl"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurm-perl-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurm29"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurm29-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurm29-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb-dev"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb-perl"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb-perl-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb29"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb29-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb29-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-client"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-client-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-client-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-client-emulator"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-client-emulator-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-llnl"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-llnl-slurmdbd"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins-dev"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-doc"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-emulator"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-emulator-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-torque"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmctld"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmctld-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmctld-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmd"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmd-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmd-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmdbd"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmdbd-dbg"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "slurmdbd-dbgsym"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "sview"
        },
        {
            "binary_version": "15.08.7-1ubuntu0.1~esm4",
            "binary_name": "sview-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / slurm-llnl

Package

Name
slurm-llnl
Purl
pkg:deb/ubuntu/slurm-llnl?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
17.11.2-1ubuntu0.1~esm4

Affected versions

17.*

17.02.6-1build1
17.02.9-1
17.11.2-1build1
17.11.2-1ubuntu0.1~esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpam-slurm"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpmi0"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpmi0-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpmi0-dev"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpmi2-0"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpmi2-0-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libpmi2-0-dev"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurm-dev"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurm-perl"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurm32"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurm32-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb-dev"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb-perl"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb32"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "libslurmdb32-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-client"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-client-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-client-emulator"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-basic-plugins-dev"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-doc"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-emulator"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurm-wlm-torque"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurmctld"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurmctld-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurmd"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurmd-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurmdbd"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "slurmdbd-dbgsym"
        },
        {
            "binary_version": "17.11.2-1ubuntu0.1~esm4",
            "binary_name": "sview"
        }
    ]
}

Ubuntu:20.04:LTS / slurm-llnl

Package

Name
slurm-llnl
Purl
pkg:deb/ubuntu/slurm-llnl?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

19.*

19.05.3.2-2
19.05.3.2-2build1
19.05.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / slurm-llnl

Package

Name
slurm-llnl
Purl
pkg:deb/ubuntu/slurm-llnl?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
19.05.5-1ubuntu0.1~esm1

Affected versions

19.*

19.05.3.2-2
19.05.3.2-2build1
19.05.5-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpam-slurm"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpam-slurm-adopt"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpmi0"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpmi0-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpmi0-dev"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpmi2-0"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpmi2-0-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libpmi2-0-dev"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libslurm-dev"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libslurm-perl"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libslurm34"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libslurm34-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "libslurmdb-perl"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-client"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-client-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-client-emulator"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm-basic-plugins"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm-basic-plugins-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm-basic-plugins-dev"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm-doc"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm-emulator"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurm-wlm-torque"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurmctld"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurmctld-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurmd"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurmd-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurmdbd"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "slurmdbd-dbgsym"
        },
        {
            "binary_version": "19.05.5-1ubuntu0.1~esm1",
            "binary_name": "sview"
        }
    ]
}