<?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</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2024:1469-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-04-29T15:59:43Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-04-29T15:59:43Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-04-29T15:59:43Z</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</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for docker fixes the following issues:

- CVE-2024-23651: Fixed arbitrary files write due to race condition on mounts (bsc#1219267)
- CVE-2024-23652: Fixed insufficient validation of parent directory on mount (bsc#1219268)
- CVE-2024-23653: Fixed insufficient validation on entitlement on container creation via buildkit (bsc#1219438)

Other fixes:
- Update to Docker 25.0.5-ce (bsc#1223409)
</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">Image SLES12-SP5-Azure-Basic-On-Demand-2024-1469,Image SLES12-SP5-Azure-Standard-On-Demand-2024-1469,Image SLES12-SP5-EC2-ECS-On-Demand-2024-1469,Image SLES12-SP5-EC2-On-Demand-2024-1469,Image SLES12-SP5-GCE-On-Demand-2024-1469,SUSE-2024-1469,SUSE-SLE-Module-Containers-12-2024-1469</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/2024/suse-su-20241469-1/</URL>
      <Description>Link for SUSE-SU-2024:1469-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2024-April/035123.html</URL>
      <Description>E-Mail link for SUSE-SU-2024:1469-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/1219267</URL>
      <Description>SUSE Bug 1219267</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1219268</URL>
      <Description>SUSE Bug 1219268</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1219438</URL>
      <Description>SUSE Bug 1219438</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1223409</URL>
      <Description>SUSE Bug 1223409</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-23651/</URL>
      <Description>SUSE CVE CVE-2024-23651 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-23652/</URL>
      <Description>SUSE CVE CVE-2024-23652 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-23653/</URL>
      <Description>SUSE CVE CVE-2024-23653 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Image SLES12-SP5-Azure-Basic-On-Demand">
      <Branch Type="Product Name" Name="Image SLES12-SP5-Azure-Basic-On-Demand">
        <FullProductName ProductID="Image SLES12-SP5-Azure-Basic-On-Demand">Image SLES12-SP5-Azure-Basic-On-Demand</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES12-SP5-Azure-Standard-On-Demand">
      <Branch Type="Product Name" Name="Image SLES12-SP5-Azure-Standard-On-Demand">
        <FullProductName ProductID="Image SLES12-SP5-Azure-Standard-On-Demand">Image SLES12-SP5-Azure-Standard-On-Demand</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES12-SP5-EC2-ECS-On-Demand">
      <Branch Type="Product Name" Name="Image SLES12-SP5-EC2-ECS-On-Demand">
        <FullProductName ProductID="Image SLES12-SP5-EC2-ECS-On-Demand">Image SLES12-SP5-EC2-ECS-On-Demand</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES12-SP5-EC2-On-Demand">
      <Branch Type="Product Name" Name="Image SLES12-SP5-EC2-On-Demand">
        <FullProductName ProductID="Image SLES12-SP5-EC2-On-Demand">Image SLES12-SP5-EC2-On-Demand</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES12-SP5-GCE-On-Demand">
      <Branch Type="Product Name" Name="Image SLES12-SP5-GCE-On-Demand">
        <FullProductName ProductID="Image SLES12-SP5-GCE-On-Demand">Image SLES12-SP5-GCE-On-Demand</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Containers 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Containers 12">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 12" CPE="cpe:/o:suse:sle-module-containers:12">SUSE Linux Enterprise Module for Containers 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="docker-25.0.5_ce-98.112.1">
      <FullProductName ProductID="docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-bash-completion-25.0.5_ce-98.112.1">
      <FullProductName ProductID="docker-bash-completion-25.0.5_ce-98.112.1">docker-bash-completion-25.0.5_ce-98.112.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-fish-completion-25.0.5_ce-98.112.1">
      <FullProductName ProductID="docker-fish-completion-25.0.5_ce-98.112.1">docker-fish-completion-25.0.5_ce-98.112.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-rootless-extras-25.0.5_ce-98.112.1">
      <FullProductName ProductID="docker-rootless-extras-25.0.5_ce-98.112.1">docker-rootless-extras-25.0.5_ce-98.112.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="docker-zsh-completion-25.0.5_ce-98.112.1">
      <FullProductName ProductID="docker-zsh-completion-25.0.5_ce-98.112.1">docker-zsh-completion-25.0.5_ce-98.112.1</FullProductName>
    </Branch>
    <Relationship ProductReference="docker-25.0.5_ce-98.112.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP5-Azure-Basic-On-Demand">
      <FullProductName ProductID="Image SLES12-SP5-Azure-Basic-On-Demand:docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1 as a component of Image SLES12-SP5-Azure-Basic-On-Demand</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-25.0.5_ce-98.112.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP5-Azure-Standard-On-Demand">
      <FullProductName ProductID="Image SLES12-SP5-Azure-Standard-On-Demand:docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1 as a component of Image SLES12-SP5-Azure-Standard-On-Demand</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-25.0.5_ce-98.112.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP5-EC2-ECS-On-Demand">
      <FullProductName ProductID="Image SLES12-SP5-EC2-ECS-On-Demand:docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1 as a component of Image SLES12-SP5-EC2-ECS-On-Demand</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-25.0.5_ce-98.112.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP5-EC2-On-Demand">
      <FullProductName ProductID="Image SLES12-SP5-EC2-On-Demand:docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1 as a component of Image SLES12-SP5-EC2-On-Demand</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-25.0.5_ce-98.112.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP5-GCE-On-Demand">
      <FullProductName ProductID="Image SLES12-SP5-GCE-On-Demand:docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1 as a component of Image SLES12-SP5-GCE-On-Demand</FullProductName>
    </Relationship>
    <Relationship ProductReference="docker-25.0.5_ce-98.112.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Containers 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 12:docker-25.0.5_ce-98.112.1">docker-25.0.5_ce-98.112.1 as a component of SUSE Linux Enterprise Module for Containers 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">BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.
</Note>
    </Notes>
    <CVE>CVE-2024-23651</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES12-SP5-Azure-Basic-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-Azure-Standard-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-EC2-ECS-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-EC2-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-GCE-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 12:docker-25.0.5_ce-98.112.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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/2024/suse-su-20241469-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-23651.html</URL>
        <Description>CVE-2024-23651</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219267</URL>
        <Description>SUSE Bug 1219267</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">BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.</Note>
    </Notes>
    <CVE>CVE-2024-23652</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES12-SP5-Azure-Basic-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-Azure-Standard-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-EC2-ECS-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-EC2-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-GCE-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 12:docker-25.0.5_ce-98.112.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <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/2024/suse-su-20241469-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-23652.html</URL>
        <Description>CVE-2024-23652</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219268</URL>
        <Description>SUSE Bug 1219268</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">BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special `security.insecure` entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources. 
</Note>
    </Notes>
    <CVE>CVE-2024-23653</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES12-SP5-Azure-Basic-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-Azure-Standard-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-EC2-ECS-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-EC2-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>Image SLES12-SP5-GCE-On-Demand:docker-25.0.5_ce-98.112.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 12:docker-25.0.5_ce-98.112.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <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/2024/suse-su-20241469-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-23653.html</URL>
        <Description>CVE-2024-23653</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219438</URL>
        <Description>SUSE Bug 1219438</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
