From 52d667794fae15888285bc86029ae009f98d7d64 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 17 Feb 2023 01:22:44 +0100 Subject: [PATCH] [23.0] update containerd binary to v1.6.18 update containerd binary to v1.6.18, which includes fixes for CVE-2023-25153 and CVE-2023-25173. 1.6.18 release notes: https://github.com/containerd/containerd/releases/tag/v1.6.18 > - Fix OCI image importer memory exhaustion (GHSA-259w-8hf6-59c2) > - Fix supplementary groups not being set up properly (GHSA-hmfx-3pcx-653p) > - Revert removal of /sbin/apparmor_parser check > - Update Go to 1.19.6 full diff: https://github.com/containerd/containerd/compare/v1.6.17...v1.6.18 1.6.17 release notes: https://github.com/containerd/containerd/releases/tag/v1.6.17 > - Add network plugin metrics > - Update mkdir permission on /etc/cni to 0755 instead of 0700 > - Export remote snapshotter label handler > - Add support for default hosts.toml configuration full diff: https://github.com/containerd/containerd/compare/v1.6.16...v1.6.17 Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 2 +- Dockerfile.windows | 2 +- hack/dockerfile/install/containerd.installer | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 993396c78e..20173822a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -192,7 +192,7 @@ RUN git init . && git remote add origin "https://github.com/containerd/container # When updating the binary version you may also need to update the vendor # version to pick up bug fixes or new APIs, however, usually the Go packages # are built from a commit from the master branch. -ARG CONTAINERD_VERSION=v1.6.16 +ARG CONTAINERD_VERSION=v1.6.18 RUN git fetch -q --depth 1 origin "${CONTAINERD_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS containerd-build diff --git a/Dockerfile.windows b/Dockerfile.windows index 985c2992c8..3402cc987a 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -168,7 +168,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ARG GO_VERSION=1.19.5 ARG GOTESTSUM_VERSION=v1.8.2 ARG GOWINRES_VERSION=v0.3.0 -ARG CONTAINERD_VERSION=v1.6.16 +ARG CONTAINERD_VERSION=v1.6.18 # Environment variable notes: # - GO_VERSION must be consistent with 'Dockerfile' used by Linux. diff --git a/hack/dockerfile/install/containerd.installer b/hack/dockerfile/install/containerd.installer index ca4db321ab..7592be7a3b 100755 --- a/hack/dockerfile/install/containerd.installer +++ b/hack/dockerfile/install/containerd.installer @@ -15,7 +15,7 @@ set -e # the binary version you may also need to update the vendor version to pick up # bug fixes or new APIs, however, usually the Go packages are built from a # commit from the master branch. -: "${CONTAINERD_VERSION:=v1.6.16}" +: "${CONTAINERD_VERSION:=v1.6.18}" install_containerd() ( echo "Install containerd version $CONTAINERD_VERSION"