<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for slurm</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2018:0987-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-04-19T17:12:02Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-04-19T17:12:02Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-04-19T17:12:02Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for slurm</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for slurm fixes the following issues:

- Fix interaction with systemd: systemd expects that a 
  daemonizing process doesn't go away until the PID file
  with it PID of the daemon has bee written (bsc#1084125).

- Make sure systemd services get restarted only when all
  packages are in a consistent state, not in the middle
  of an 'update' transaction (bsc#1088693).
  Since the %postun scripts that run on update are from
  the old package they cannot be changed - thus we work
  around the restart breakage.

- CVE-2018-7033: Fixed security issue in accounting_storage/mysql plugin by always 
  escaping strings within the slurmdbd (bsc#1085240).
    
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-SLE-Module-HPC-12-2018-664</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2018/suse-su-20180987-1/</URL>
      <Description>Link for SUSE-SU-2018:0987-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-April/003903.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:0987-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1084125</URL>
      <Description>SUSE Bug 1084125</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1085240</URL>
      <Description>SUSE Bug 1085240</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1088693</URL>
      <Description>SUSE Bug 1088693</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7033/</URL>
      <Description>SUSE CVE CVE-2018-7033 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for HPC 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for HPC 12">
        <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12" CPE="cpe:/o:suse:sle-module-hpc:12">SUSE Linux Enterprise Module for HPC 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libpmi0-17.02.10-6.16.1">
      <FullProductName ProductID="libpmi0-17.02.10-6.16.1">libpmi0-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libslurm31-17.02.10-6.16.1">
      <FullProductName ProductID="libslurm31-17.02.10-6.16.1">libslurm31-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-slurm-17.02.10-6.16.1">
      <FullProductName ProductID="perl-slurm-17.02.10-6.16.1">perl-slurm-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-17.02.10-6.16.1">slurm-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-auth-none-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-auth-none-17.02.10-6.16.1">slurm-auth-none-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-devel-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-devel-17.02.10-6.16.1">slurm-devel-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-doc-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-doc-17.02.10-6.16.1">slurm-doc-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-lua-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-lua-17.02.10-6.16.1">slurm-lua-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-munge-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-munge-17.02.10-6.16.1">slurm-munge-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-pam_slurm-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-pam_slurm-17.02.10-6.16.1">slurm-pam_slurm-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-plugins-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-plugins-17.02.10-6.16.1">slurm-plugins-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-sched-wiki-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-sched-wiki-17.02.10-6.16.1">slurm-sched-wiki-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-slurmdb-direct-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-slurmdb-direct-17.02.10-6.16.1">slurm-slurmdb-direct-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-slurmdbd-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-slurmdbd-17.02.10-6.16.1">slurm-slurmdbd-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-sql-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-sql-17.02.10-6.16.1">slurm-sql-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="slurm-torque-17.02.10-6.16.1">
      <FullProductName ProductID="slurm-torque-17.02.10-6.16.1">slurm-torque-17.02.10-6.16.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libpmi0-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:libpmi0-17.02.10-6.16.1">libpmi0-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="libslurm31-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:libslurm31-17.02.10-6.16.1">libslurm31-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-slurm-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:perl-slurm-17.02.10-6.16.1">perl-slurm-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-17.02.10-6.16.1">slurm-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-auth-none-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-auth-none-17.02.10-6.16.1">slurm-auth-none-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-devel-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-devel-17.02.10-6.16.1">slurm-devel-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-doc-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-doc-17.02.10-6.16.1">slurm-doc-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-lua-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-lua-17.02.10-6.16.1">slurm-lua-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-munge-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-munge-17.02.10-6.16.1">slurm-munge-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-pam_slurm-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-pam_slurm-17.02.10-6.16.1">slurm-pam_slurm-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-plugins-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-plugins-17.02.10-6.16.1">slurm-plugins-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-sched-wiki-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-sched-wiki-17.02.10-6.16.1">slurm-sched-wiki-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-slurmdb-direct-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-slurmdb-direct-17.02.10-6.16.1">slurm-slurmdb-direct-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-slurmdbd-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-slurmdbd-17.02.10-6.16.1">slurm-slurmdbd-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-sql-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-sql-17.02.10-6.16.1">slurm-sql-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="slurm-torque-17.02.10-6.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for HPC 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for HPC 12:slurm-torque-17.02.10-6.16.1">slurm-torque-17.02.10-6.16.1 as a component of SUSE Linux Enterprise Module for HPC 12</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">SchedMD Slurm before 17.02.10 and 17.11.x before 17.11.5 allows SQL Injection attacks against SlurmDBD.</Note>
    </Notes>
    <CVE>CVE-2018-7033</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for HPC 12:libpmi0-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:libslurm31-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:perl-slurm-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-auth-none-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-devel-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-doc-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-lua-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-munge-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-pam_slurm-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-plugins-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-sched-wiki-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-slurmdb-direct-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-slurmdbd-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-sql-17.02.10-6.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for HPC 12:slurm-torque-17.02.10-6.16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2018/suse-su-20180987-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7033.html</URL>
        <Description>CVE-2018-7033</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1085240</URL>
        <Description>SUSE Bug 1085240</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
