<?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 containerd, docker, runc</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2021:0878-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-06-16T13:54:13Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-06-16T13:54:13Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-06-16T13:54:13Z</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 containerd, docker, runc</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for containerd, docker, runc fixes the following issues:

Docker was updated to 20.10.6-ce (bsc#1184768, bsc#1182947, bsc#1181594)

* Switch version to use -ce suffix rather than _ce to avoid confusing other
  tools (bsc#1182476).
* CVE-2021-21284: Fixed a potential privilege escalation when the root user in 
  the remapped namespace has access to the host filesystem (bsc#1181732)
* CVE-2021-21285: Fixed an issue where pulling a malformed Docker image manifest 
  crashes the dockerd daemon (bsc#1181730). 
* btrfs quotas being removed by Docker regularly (bsc#1183855, bsc#1175081)

runc was updated to v1.0.0~rc93 (bsc#1182451, bsc#1175821 bsc#1184962).

* Use the upstream runc package (bsc#1181641, bsc#1181677, bsc#1175821).
* Fixed /dev/null is not available (bsc#1168481).
* CVE-2021-30465: Fixed a symlink-exchange attack vulnarability (bsc#1185405).

containerd was updated to v1.4.4

* CVE-2021-21334: Fixed a potential information leak through environment variables (bsc#1183397).
* Handle a requirement from docker (bsc#1181594).

This update was imported from the SUSE:SLE-15: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>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-2021-878</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/archives/list/security-announce@lists.opensuse.org/thread/G76UZ7FY6VFG73EC6UUCBE46L3TAKR6G/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:0878-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/1168481</URL>
      <Description>SUSE Bug 1168481</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1175081</URL>
      <Description>SUSE Bug 1175081</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1175821</URL>
      <Description>SUSE Bug 1175821</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181594</URL>
      <Description>SUSE Bug 1181594</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181641</URL>
      <Description>SUSE Bug 1181641</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181677</URL>
      <Description>SUSE Bug 1181677</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181730</URL>
      <Description>SUSE Bug 1181730</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181732</URL>
      <Description>SUSE Bug 1181732</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181749</URL>
      <Description>SUSE Bug 1181749</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1182451</URL>
      <Description>SUSE Bug 1182451</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1182476</URL>
      <Description>SUSE Bug 1182476</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1182947</URL>
      <Description>SUSE Bug 1182947</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1183024</URL>
      <Description>SUSE Bug 1183024</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1183855</URL>
      <Description>SUSE Bug 1183855</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1184768</URL>
      <Description>SUSE Bug 1184768</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1184962</URL>
      <Description>SUSE Bug 1184962</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1185405</URL>
      <Description>SUSE Bug 1185405</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-21284/</URL>
      <Description>SUSE CVE CVE-2021-21284 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-21285/</URL>
      <Description>SUSE CVE CVE-2021-21285 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-21334/</URL>
      <Description>SUSE CVE CVE-2021-21334 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-30465/</URL>
      <Description>SUSE CVE CVE-2021-30465 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.2">
      <Branch Type="Product Name" Name="openSUSE Leap 15.2">
        <FullProductName ProductID="openSUSE Leap 15.2" CPE="cpe:/o:opensuse:leap:15.2">openSUSE Leap 15.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="containerd-1.4.4-lp152.2.6.1">
      <FullProductName ProductID="containerd-1.4.4-lp152.2.6.1">containerd-1.4.4-lp152.2.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="containerd-ctr-1.4.4-lp152.2.6.1">
      <FullProductName ProductID="containerd-ctr-1.4.4-lp152.2.6.1">containerd-ctr-1.4.4-lp152.2.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-20.10.6_ce-lp152.2.12.1">
      <FullProductName ProductID="docker-20.10.6_ce-lp152.2.12.1">docker-20.10.6_ce-lp152.2.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-bash-completion-20.10.6_ce-lp152.2.12.1">
      <FullProductName ProductID="docker-bash-completion-20.10.6_ce-lp152.2.12.1">docker-bash-completion-20.10.6_ce-lp152.2.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-fish-completion-20.10.6_ce-lp152.2.12.1">
      <FullProductName ProductID="docker-fish-completion-20.10.6_ce-lp152.2.12.1">docker-fish-completion-20.10.6_ce-lp152.2.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-zsh-completion-20.10.6_ce-lp152.2.12.1">
      <FullProductName ProductID="docker-zsh-completion-20.10.6_ce-lp152.2.12.1">docker-zsh-completion-20.10.6_ce-lp152.2.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="runc-1.0.0~rc93-lp152.2.3.1">
      <FullProductName ProductID="runc-1.0.0~rc93-lp152.2.3.1">runc-1.0.0~rc93-lp152.2.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="containerd-1.4.4-lp152.2.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:containerd-1.4.4-lp152.2.6.1">containerd-1.4.4-lp152.2.6.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="containerd-ctr-1.4.4-lp152.2.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:containerd-ctr-1.4.4-lp152.2.6.1">containerd-ctr-1.4.4-lp152.2.6.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-20.10.6_ce-lp152.2.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:docker-20.10.6_ce-lp152.2.12.1">docker-20.10.6_ce-lp152.2.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-bash-completion-20.10.6_ce-lp152.2.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:docker-bash-completion-20.10.6_ce-lp152.2.12.1">docker-bash-completion-20.10.6_ce-lp152.2.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-fish-completion-20.10.6_ce-lp152.2.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:docker-fish-completion-20.10.6_ce-lp152.2.12.1">docker-fish-completion-20.10.6_ce-lp152.2.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-zsh-completion-20.10.6_ce-lp152.2.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:docker-zsh-completion-20.10.6_ce-lp152.2.12.1">docker-zsh-completion-20.10.6_ce-lp152.2.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="runc-1.0.0~rc93-lp152.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:runc-1.0.0~rc93-lp152.2.3.1">runc-1.0.0~rc93-lp152.2.3.1 as a component of openSUSE Leap 15.2</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">In Docker before versions 9.03.15, 20.10.3 there is a vulnerability involving the --userns-remap option in which access to remapped root allows privilege escalation to real root. When using "--userns-remap", if the root user in the remapped namespace has access to the host filesystem they can modify files under "/var/lib/docker/&lt;remapping&gt;" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user.</Note>
    </Notes>
    <CVE>CVE-2021-21284</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:containerd-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:containerd-ctr-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-bash-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-fish-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-zsh-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:runc-1.0.0~rc93-lp152.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>2.7</BaseScore>
        <Vector>AV:A/AC:L/Au:S/C:N/I:P/A:N</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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G76UZ7FY6VFG73EC6UUCBE46L3TAKR6G/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-21284.html</URL>
        <Description>CVE-2021-21284</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1181732</URL>
        <Description>SUSE Bug 1181732</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">In Docker before versions 9.03.15, 20.10.3 there is a vulnerability in which pulling an intentionally malformed Docker image manifest crashes the dockerd daemon. Versions 20.10.3 and 19.03.15 contain patches that prevent the daemon from crashing.</Note>
    </Notes>
    <CVE>CVE-2021-21285</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:containerd-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:containerd-ctr-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-bash-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-fish-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-zsh-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:runc-1.0.0~rc93-lp152.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:N/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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G76UZ7FY6VFG73EC6UUCBE46L3TAKR6G/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-21285.html</URL>
        <Description>CVE-2021-21285</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1181730</URL>
        <Description>SUSE Bug 1181730</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">In containerd (an industry-standard container runtime) before versions 1.3.10 and 1.4.4, containers launched through containerd's CRI implementation (through Kubernetes, crictl, or any other pod/container client that uses the containerd CRI service) that share the same image may receive incorrect environment variables, including values that are defined for other containers. If the affected containers have different security contexts, this may allow sensitive information to be unintentionally shared. If you are not using containerd's CRI implementation (through one of the mechanisms described above), you are not vulnerable to this issue. If you are not launching multiple containers or Kubernetes pods from the same image which have different environment variables, you are not vulnerable to this issue. If you are not launching multiple containers or Kubernetes pods from the same image in rapid succession, you have reduced likelihood of being vulnerable to this issue This vulnerability has been fixed in containerd 1.3.10 and containerd 1.4.4. Users should update to these versions.</Note>
    </Notes>
    <CVE>CVE-2021-21334</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:containerd-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:containerd-ctr-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-bash-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-fish-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-zsh-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:runc-1.0.0~rc93-lp152.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/I:N/A:N</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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G76UZ7FY6VFG73EC6UUCBE46L3TAKR6G/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-21334.html</URL>
        <Description>CVE-2021-21334</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1183397</URL>
        <Description>SUSE Bug 1183397</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">runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. To exploit the vulnerability, an attacker must be able to create multiple containers with a fairly specific mount configuration. The problem occurs via a symlink-exchange attack that relies on a race condition.</Note>
    </Notes>
    <CVE>CVE-2021-30465</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:containerd-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:containerd-ctr-1.4.4-lp152.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-bash-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-fish-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:docker-zsh-completion-20.10.6_ce-lp152.2.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:runc-1.0.0~rc93-lp152.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6</BaseScore>
        <Vector>AV:N/AC:M/Au:S/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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G76UZ7FY6VFG73EC6UUCBE46L3TAKR6G/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-30465.html</URL>
        <Description>CVE-2021-30465</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1185405</URL>
        <Description>SUSE Bug 1185405</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1189161</URL>
        <Description>SUSE Bug 1189161</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
