<?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 lxc, lxcfs</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2019:1481-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-05-31T14:17:03Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-05-31T14:17:03Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-05-31T14:17:03Z</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 lxc, lxcfs</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for lxc, lxcfs to version 3.1.0 fixes the following issues:

Security issues fixed:

- CVE-2019-5736: Fixed a container breakout vulnerability (boo#1122185).
- CVE-2018-6556: Enable setuid bit on lxc-user-nic (boo#988348).

Non-security issues fixed:

- Update to LXC 3.1.0. The changelog is far too long to include here, please
  look at https://linuxcontainers.org/. (boo#1131762)
</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/2019-05/msg00073.html</URL>
      <Description>E-Mail link for openSUSE-SU-2019:1481-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="liblxc-devel-3.1.0-24.1">
      <FullProductName ProductID="liblxc-devel-3.1.0-24.1">liblxc-devel-3.1.0-24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="liblxc1-3.1.0-24.1">
      <FullProductName ProductID="liblxc1-3.1.0-24.1">liblxc1-3.1.0-24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="lxc-3.1.0-24.1">
      <FullProductName ProductID="lxc-3.1.0-24.1">lxc-3.1.0-24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="lxc-bash-completion-3.1.0-24.1">
      <FullProductName ProductID="lxc-bash-completion-3.1.0-24.1">lxc-bash-completion-3.1.0-24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="lxcfs-3.0.3-2.1">
      <FullProductName ProductID="lxcfs-3.0.3-2.1">lxcfs-3.0.3-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="lxcfs-hooks-lxc-3.0.3-2.1">
      <FullProductName ProductID="lxcfs-hooks-lxc-3.0.3-2.1">lxcfs-hooks-lxc-3.0.3-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pam_cgfs-3.1.0-24.1">
      <FullProductName ProductID="pam_cgfs-3.1.0-24.1">pam_cgfs-3.1.0-24.1</FullProductName>
    </Branch>
    <Relationship ProductReference="liblxc-devel-3.1.0-24.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1">liblxc-devel-3.1.0-24.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="liblxc1-3.1.0-24.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:liblxc1-3.1.0-24.1">liblxc1-3.1.0-24.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="lxc-3.1.0-24.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:lxc-3.1.0-24.1">lxc-3.1.0-24.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="lxc-bash-completion-3.1.0-24.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1">lxc-bash-completion-3.1.0-24.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="lxcfs-3.0.3-2.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:lxcfs-3.0.3-2.1">lxcfs-3.0.3-2.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="lxcfs-hooks-lxc-3.0.3-2.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1">lxcfs-hooks-lxc-3.0.3-2.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="pam_cgfs-3.1.0-24.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1">pam_cgfs-3.1.0-24.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">lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.</Note>
    </Notes>
    <CVE>CVE-2015-1331</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:liblxc1-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1331.html</URL>
        <Description>CVE-2015-1331</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/938522</URL>
        <Description>SUSE Bug 938522</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">attach.c in LXC 1.1.2 and earlier uses the proc filesystem in a container, which allows local container users to escape AppArmor or SELinux confinement by mounting a proc filesystem with a crafted (1) AppArmor profile or (2) SELinux label.</Note>
    </Notes>
    <CVE>CVE-2015-1334</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:liblxc1-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1334.html</URL>
        <Description>CVE-2015-1334</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/938523</URL>
        <Description>SUSE Bug 938523</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">lxc-start in lxc before 1.0.8 and 1.1.x before 1.1.4 allows local container administrators to escape AppArmor confinement via a symlink attack on a (1) mount target or (2) bind mount source.</Note>
    </Notes>
    <CVE>CVE-2015-1335</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:liblxc1-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1335.html</URL>
        <Description>CVE-2015-1335</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/946744</URL>
        <Description>SUSE Bug 946744</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">lxc-user-nic in Linux Containers (LXC) allows local users with a lxc-usernet allocation to create network interfaces on the host and choose the name of those interfaces by leveraging lack of netns ownership check.</Note>
    </Notes>
    <CVE>CVE-2017-5985</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:liblxc1-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-5985.html</URL>
        <Description>CVE-2017-5985</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1028264</URL>
        <Description>SUSE Bug 1028264</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">lxc-user-nic when asked to delete a network interface will unconditionally open a user provided path. This code path may be used by an unprivileged user to check for the existence of a path which they wouldn't otherwise be able to reach. It may also be used to trigger side effects by causing a (read-only) open of special kernel files (ptmx, proc, sys). Affected releases are LXC: 2.0 versions above and including 2.0.9; 3.0 versions above and including 3.0.0, prior to 3.0.2.</Note>
    </Notes>
    <CVE>CVE-2018-6556</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:liblxc1-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-6556.html</URL>
        <Description>CVE-2018-6556</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1122185</URL>
        <Description>SUSE Bug 1122185</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/988348</URL>
        <Description>SUSE Bug 988348</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.</Note>
    </Notes>
    <CVE>CVE-2019-5736</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:liblxc-devel-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:liblxc1-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxc-bash-completion-3.1.0-24.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:lxcfs-hooks-lxc-3.0.3-2.1</ProductID>
        <ProductID>openSUSE Leap 42.3:pam_cgfs-3.1.0-24.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-5736.html</URL>
        <Description>CVE-2019-5736</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1121967</URL>
        <Description>SUSE Bug 1121967</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1122185</URL>
        <Description>SUSE Bug 1122185</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1173421</URL>
        <Description>SUSE Bug 1173421</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
