<?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 docker, docker-runc, containerd, golang-github-docker-libnetwork</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:0406-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-02-08T18:37:41Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-02-08T18:37:41Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-02-08T18:37:41Z</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 docker, docker-runc, containerd, golang-github-docker-libnetwork</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for docker, docker-runc, containerd, golang-github-docker-libnetwork fixes several issues.

These security issues were fixed:

- CVE-2017-16539: The DefaultLinuxSpec function in oci/defaults.go docker did
  not block /proc/scsi pathnames, which allowed attackers to trigger data loss
  (when certain older Linux kernels are used) by leveraging Docker container
  access to write a 'scsi remove-single-device' line to /proc/scsi/scsi, aka SCSI
  MICDROP (bnc#1066801)

- CVE-2017-14992: Lack of content verification in docker allowed a remote
  attacker to cause a Denial of Service via a crafted image layer payload, aka
  gzip bombing. (bnc#1066210)

These non-security issues were fixed:

- bsc#1059011: The systemd service helper script used a timeout of 60 seconds to start the daemon, which is insufficient in cases where the daemon takes longer to start. Instead, set the service type from 'simple' to 'notify' and remove the now superfluous helper script.
- bsc#1057743: New requirement with new version of docker-libnetwork.
- bsc#1032287: Missing docker systemd configuration.
- bsc#1057743: New 'symbol' for libnetwork requirement.
- bsc#1057743: Update secrets patch to handle 'old' containers that have orphaned secret data no longer available on the host.
- bsc#1055676: Update patches to correctly handle volumes and mounts when Docker is running with user namespaces enabled.
- bsc#1045628:: Add patch to make the dm storage driver remove a container's rootfs mountpoint before attempting to do libdm operations on it. This helps avoid complications when live mounts will leak into containers.
- bsc#1069758: Upgrade Docker to v17.09.1_ce (and obsolete docker-image-migrator).
- bsc#1021227: bsc#1029320 bsc#1058173 -- Enable docker devicemapper support for deferred removal/deletion within Containers module.
- bsc#1046024: Correct interaction between Docker and SuSEFirewall2, to avoid breaking Docker networking after boot.
- bsc#1048046: Build with -buildmode=pie to make all binaries PIC.
- bsc#1072798: Remove dependency on obsolete bridge-utils.
- bsc#1064926: Set --start-timeout=2m by default to match upstream. 
- bsc#1065109, bsc#1053532: Use the upstream makefile so that Docker can get the commit ID in `docker info`.

Please note that the 'docker-runc' package is just a rename of the old 'runc' package to match that we now ship the Docker fork of runc.
  
This update was imported from the SUSE:SLE-12:Update update project.
</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>
  </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://lists.opensuse.org/opensuse-security-announce/2018-02/msg00012.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0406-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="containerd-0.2.9+gitr706_06b9cb351610-16.1">
      <FullProductName ProductID="containerd-0.2.9+gitr706_06b9cb351610-16.1">containerd-0.2.9+gitr706_06b9cb351610-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1">
      <FullProductName ProductID="containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1">containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="containerd-test-0.2.9+gitr706_06b9cb351610-16.1">
      <FullProductName ProductID="containerd-test-0.2.9+gitr706_06b9cb351610-16.1">containerd-test-0.2.9+gitr706_06b9cb351610-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-17.09.1_ce-36.1">
      <FullProductName ProductID="docker-17.09.1_ce-36.1">docker-17.09.1_ce-36.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-bash-completion-17.09.1_ce-36.1">
      <FullProductName ProductID="docker-bash-completion-17.09.1_ce-36.1">docker-bash-completion-17.09.1_ce-36.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1">
      <FullProductName ProductID="docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1">docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1">
      <FullProductName ProductID="docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1">docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1">
      <FullProductName ProductID="docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1">docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-test-17.09.1_ce-36.1">
      <FullProductName ProductID="docker-test-17.09.1_ce-36.1">docker-test-17.09.1_ce-36.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-zsh-completion-17.09.1_ce-36.1">
      <FullProductName ProductID="docker-zsh-completion-17.09.1_ce-36.1">docker-zsh-completion-17.09.1_ce-36.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1">
      <FullProductName ProductID="golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1">golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1</FullProductName>
    </Branch>
    <Relationship ProductReference="containerd-0.2.9+gitr706_06b9cb351610-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:containerd-0.2.9+gitr706_06b9cb351610-16.1">containerd-0.2.9+gitr706_06b9cb351610-16.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1">containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="containerd-test-0.2.9+gitr706_06b9cb351610-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:containerd-test-0.2.9+gitr706_06b9cb351610-16.1">containerd-test-0.2.9+gitr706_06b9cb351610-16.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-17.09.1_ce-36.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-17.09.1_ce-36.1">docker-17.09.1_ce-36.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-bash-completion-17.09.1_ce-36.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-bash-completion-17.09.1_ce-36.1">docker-bash-completion-17.09.1_ce-36.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1">docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1">docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1">docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-test-17.09.1_ce-36.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-test-17.09.1_ce-36.1">docker-test-17.09.1_ce-36.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-zsh-completion-17.09.1_ce-36.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:docker-zsh-completion-17.09.1_ce-36.1">docker-zsh-completion-17.09.1_ce-36.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1">golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1 as a component of openSUSE Leap 42.3</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">Lack of content verification in Docker-CE (Also known as Moby) versions 1.12.6-0, 1.10.3, 17.03.0, 17.03.1, 17.03.2, 17.06.0, 17.06.1, 17.06.2, 17.09.0, and earlier allows a remote attacker to cause a Denial of Service via a crafted image layer payload, aka gzip bombing.</Note>
    </Notes>
    <CVE>CVE-2017-14992</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:containerd-0.2.9+gitr706_06b9cb351610-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:containerd-test-0.2.9+gitr706_06b9cb351610-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-bash-completion-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-test-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-zsh-completion-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.9</BaseScore>
        <Vector>AV:L/AC:L/Au:N/C:N/I:N/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00012.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-14992.html</URL>
        <Description>CVE-2017-14992</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1066210</URL>
        <Description>SUSE Bug 1066210</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The DefaultLinuxSpec function in oci/defaults.go in Docker Moby through 17.03.2-ce does not block /proc/scsi pathnames, which allows attackers to trigger data loss (when certain older Linux kernels are used) by leveraging Docker container access to write a "scsi remove-single-device" line to /proc/scsi/scsi, aka SCSI MICDROP.</Note>
    </Notes>
    <CVE>CVE-2017-16539</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:containerd-0.2.9+gitr706_06b9cb351610-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:containerd-ctr-0.2.9+gitr706_06b9cb351610-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:containerd-test-0.2.9+gitr706_06b9cb351610-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-bash-completion-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-runc-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-runc-test-1.0.0rc4+gitr3338_3f2f8b84a77f-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-test-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:docker-zsh-completion-17.09.1_ce-36.1</ProductID>
        <ProductID>openSUSE Leap 42.3:golang-github-docker-libnetwork-0.7.0.1+gitr2066_7b2b1feb1de4-5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>3.6</BaseScore>
        <Vector>AV:L/AC:L/Au:N/C:N/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00012.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-16539.html</URL>
        <Description>CVE-2017-16539</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1066801</URL>
        <Description>SUSE Bug 1066801</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
