containerd 2.3.6 → 2.4.3
6 releases · 40 breaking changes · 20 security fixes · 4 advisories fixed
20security40breaking2deprecated67feature14fix
Vulnerabilities fixed by this upgrade
- medium GHSA-8647-2jxj-p2rc containerd: daemon crash when pulling an image with a crafted Content-Length header
- medium CVE-2026-95839 containerd: daemon crash when processing an image manifest with a malformed digest
- medium GHSA-hc94-p972-ch66 containerd: host disk exhaustion when pulling an image with an unbounded layer stream
- medium GHSA-5p7c-hggf-c748 containerd CRI plugin: mount and snapshot leak when container checkpoint restore fails
Breaking changes
- breaking 6e3b0d040 Makefile: remove go mod download from integration in 2.4.2
- breaking Remove deprecated CRI and tracing configuration options: in 2.4.0
- breaking Remove enable_cdi in CRI runtime configuration (CDI is now always enabled) in 2.4.0
- breaking Remove bin_dir in CRI CNI configuration (use bin_dirs) in 2.4.0
- breaking Remove endpoint, protocol, and insecure in OTLP tracing processor configuration (use standard OTLP environment variables) in 2.4.0
- breaking Remove service_name and sampling_ratio in internal tracing configuration (use standard OpenTelemetry environment variables) () in 2.4.0
- breaking Remove restore in CreateContainer () in 2.4.0
- breaking 531b3a37b9 tracing: remove deprecated tracing config options in 2.4.0
- breaking ee024b7c99 tracing: remove deprecated otlp configs in 2.4.0
- breaking f7c654fb4f cri: remove deprecated cni bin_dir in 2.4.0
- breaking 4f7de25abb cri: remove enable_cdi config option in 2.4.0
- breaking 4d13856983 cmd: remove redundant empty slice flag values in 2.4.0
- breaking 211cde9039 cmd: remove uses of urfave/cli.Commands in 2.4.0
- breaking c52e77eccd cmd/ctr: remove unused pluginCmds in 2.4.0
- breaking plugins: remove some stray logrus imports () in 2.4.0
- breaking b845501327 plugins: remove some stray logrus imports in 2.4.0
- breaking 329998caa9 runtime/v2: remove the runtime-allow-mounts annotation in 2.4.0
- breaking Remove shim.Command form pkg () in 2.4.0
- breaking internal/cri/server: remove remaining uses of k8s.io/utils () in 2.4.0
- breaking 10e82fac8d internal/cri/server: remove remaining uses of k8s.io/utils in 2.4.0
- breaking internal/cri/bandwidth: remove dead code () in 2.4.0
- breaking fcb54dc5fa internal/cri/bandwidth: remove dead code in 2.4.0
- breaking Remove dependency on github.com/opencontainers/runtime-tools () in 2.4.0
- breaking cri: remove restore in CreateContainer () in 2.4.0
- breaking 91be73ba62 cri: remove restore in CreateContainer in 2.4.0
- breaking README: remove Go Report Card badge () in 2.4.0
- breaking 5de7b675c6 README: remove Go Report Card badge in 2.4.0
- breaking 0274924d74 gha: remove uses of "read-all" permissions in 2.4.0
- breaking 8722c46313 gha: buf-breaking: pin actions by sha in 2.4.0
- breaking pkg/archive: remove redundant github.com/moby/sys/sequential dependency () in 2.4.0
- breaking 35f753cc44 pkg/archive: remove redundant github.com/moby/sys/sequential dependency in 2.4.0
- breaking pkg/oci: WithUser: remove redundant isErrRange utility () in 2.4.0
- breaking 633a5be1c9 pkg/oci: WithUser: remove redundant isErrRange utility in 2.4.0
- breaking remove 1.26.2 from CI builds as it is not supported any longer due to… () in 2.4.0
- breaking pkg: remove unused nolint annotations () in 2.4.0
- breaking 899dee1f59 pkg: remove unused nolint annotations in 2.4.0
- breaking 1ef7086 ci: remove custom working-directories and GOPATH in 2.4.0
- breaking Remove dependency on github.com/opencontainers/runtime-tools (containerd/nri#305) in 2.4.0
- breaking Remove dependency on github.com/opencontainers/runtime-tools (containerd/nri#305) in 2.3.8
- breaking c73186ea6 Makefile: remove go mod download from integration in 2.3.7
Security changes
- security vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security) () in 2.4.3
- security 970e732c4 vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security) in 2.4.3
- security a1a5e05a5 vendor: github.com/go-jose/go-jose/v4 v4.1.6 (security) in 2.4.3
- security update runc binary to v1.5.3 (security) () in 2.4.3
- security vendor: golang.org/x/net v0.60.0 (security) () in 2.4.3
- security CVE-2026-95839 in 2.4.2
- security GHSA-8647-2jxj-p2rc in 2.4.2
- security GHSA-hc94-p972-ch66 in 2.4.2
- security Update to go1.26.9 / go1.27.2 (security) () in 2.4.2
- security CVE-2026-53493 in 2.4.1
- security vendor: github.com/go-jose/go-jose/v4 v4.1.5 (security) () in 2.4.0
- security docs/security: update security report triage criteria () in 2.4.0
- security fdf814c21a docs/security: update security report triage criteria in 2.4.0
- security f14376393 vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security) in 2.3.8
- security 61c9fc743 vendor: github.com/go-jose/go-jose/v4 v4.1.6 (security) in 2.3.8
- security update runc binary to v1.5.3 (security) () in 2.3.8
- security CVE-2026-95839 in 2.3.7
- security GHSA-5p7c-hggf-c748 in 2.3.7
- security GHSA-8647-2jxj-p2rc in 2.3.7
- security GHSA-hc94-p972-ch66 in 2.3.7
Deprecations
- deprecated replace uses of deprecated gopkg.in/yaml.v3 module (containerd/nri#293) in 2.3.8
- deprecated 8c90b09 replace uses of deprecated gopkg.in/yaml.v3 module in 2.3.8
Every release in between
featureFix image pulls being cancelled for no progress while layers are being unpacked ()
featureFix image pulls attempting registry hosts configured without pull capability ()
featureFix image push hanging indefinitely when registry authorization fails ()
featureFix regression where content copy rejected "-1" as an unknown size ()
featureApply hardening to deny AF_ALG and AF_VSOCK sockets in the default AppArmor profile ()
featureFix default AppArmor profile denying signals and ptrace between processes of the same container when profiles are stacked ()
featureFix task state queries timing out while a runc shim is deleting a process ()
featureFix tasks being omitted from task list and get when the shim State call times out ()
featureFix overlay directory removal and rename failures in rootless mode with tmpfs root on Linux 6.6+ ()
otherPrepare release notes for v2.4.3 ()
other5f0ebb410 Prepare release notes for v2.4.3
otherruntime/v2: re-resolve stale shim binary path on load ()
other578e217e5 runtime/v2: re-resolve stale shim binary path on load
otherdocker: fetch only from hosts with pull capability (backport of f50f9… ()
other4c853b58a docker: fetch only from hosts with pull capability
othercontrib/apparmor: deny AF_ALG and AF_VSOCK sockets (backport of 29f1191f5, 5e1373098) ()
other72bf9e179 contrib/apparmor: Deny AF_VSOCK sockets in default container profile
othered5a2c407 contrib/apparmor: Deny AF_ALG sockets in default container profile
securityvendor: github.com/go-jose/go-jose/v4 v4.1.7 (security) ()
security970e732c4 vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security)
securitya1a5e05a5 vendor: github.com/go-jose/go-jose/v4 v4.1.6 (security)
othergo.mod: github.com/moby/sys/user v0.5.1 ()
otherc033063ad go.mod: github.com/moby/sys/user v0.5.1
fixcri: Fix image pull progress timeout during unpack ()
fix7d02c0d6b cri: Fix image pull progress timeout during unpack
featureapparmor: allow signals and ptrace for stacked profile peers ()
feature7b7e53d0c apparmor: allow signals and ptrace for unconfined stacked peers
securityupdate runc binary to v1.5.3 (security) ()
featureDrop upgrade tests from 1.7, add 2.3 ()
featurecore/content: Copy: restore support for "-1" as unknown size ()
featureab796e84d core/content: Copy: restore support for "-1" as unknown size
fixfixes for runtime_platforms migration ()
fixfixes nil config flakes for spec and runtimeoptions ()
securityvendor: golang.org/x/net v0.60.0 (security) ()
featureb5a23bb55 erofs: add fsync_on_commit to sync a layer before its commit
feature0a7f870 adaptation: add tests for the failure scenarios raised in review
featuree4785d7 api,adaptation,stub: add a per-plugin failure policy
featurereplace x/mod semver with local implementation (containerd/nri#320)
feature1365084 replace x/mod semver with local implementation
featurego.opentelemetry.io/otel/log v1.47.0 new
+82 more items in the release notessecurityCVE-2026-95839
securityGHSA-8647-2jxj-p2rc
securityGHSA-hc94-p972-ch66
featureApply hardening to not follow symlinks for container log files ()
featureFix excessive memory usage during image pulls when registry downloads outpace content writes ()
featureApply hardening to reject image references with ".." path components ()
featureApply hardening to allowlist socket domains in the default seccomp profile ()
other4b342aeaf Prepare release notes for v2.4.2
securityUpdate to go1.26.9 / go1.27.2 (security) ()
other9c06c813e Update to go1.26.9 / go1.27.2
otherci: update to golangci-lint v2.14.0 (go1.27.2 compatibility) ()
other3fb9faa68 ci: update to golangci-lint v2.14.0 (go1.27.2 compatibility)
other187caba38 Merge commit from fork
other44fd201a8 remotes/docker: bound parallel fetch readers
otherfc7adbfab Merge commit from fork
othera2eb01f66 images: skip malformed digests when computing referrer labels
other39cff482d Merge commit from fork
other7f0c0b822 content, remotes: bound reads to expected size
otherremotes/docker: throttle worker chunk buffers ()
other6a78f854a remotes/docker: limit chunk buffers per layer
othercri: should not follow log file ()
other098de667d cri: should not follow log file
otherreference: reject .. path components that rewrite the host ()
other6b631559b reference: reject .. path components that rewrite the host
featureseccomp: Use an allow-list for socket domains ()
feature7936ee578 seccomp: Use an allow-list for socket domains
otherupdate runc binary to v1.5.2 ()
other54a82dcf0 update runc binary to v1.5.2
otherConditional actions ()
breaking6e3b0d040 Makefile: remove go mod download from integration
other694cfb371 ci: skip linters steps in private repositories
otherca0452717 workflows: skip non-CI jobs in private forks
securityCVE-2026-53493
featureFix bug where failed container start cleanup leaked tasks and prevented container removal ()
featureFix bug where container creation failed when SELinux relabeling was unsupported by the filesystem ()
featureFix content upload failures when retrying fetch content after reaching EOF ()
featureApply hardening to filter ID-mapping labels from image annotations during unpack ()
featureFix bug where arguments following "-" were dropped in "ctr images export" ()
featureFix bug where container command arguments were parsed as flags in "ctr run", "ctr containers create", "ctr tasks exec", and "containerd oci-hook" ()
featureFix bug where comma-separated flag values were incorrectly split in ctr subcommands ()
other9f7f70fc31 Prepare release notes for v2.4.1
other98e88f2afe Merge commit from fork
othere0c8eed120 Bound Walk references
otherddf544326a Bound Dispatch concurrency and references
othercri: don't leak task when StartContainer cleanup fails to delete task ()
fix9e8abe0405 cri: fix process leak when start cleanup fails to delete task
otherctr: preserve args after "-" in images export ()
otheracbdd57f0d ctr: preserve args after "-" in images export
fixctr: fix flag parsing issues in run, containers create, tasks exec, and oci-hook ()
othera2e9a5196e cmd/containerd: stop flag parsing on oci-hook
other2d0e53474d ctr: stop flag parsing before container command
othercri: tolerate wrapped ENOTSUP during relabel ()
othereb2dfa125d cri: tolerate wrapped ENOTSUP during relabel
othercore/unpack: don't honor id-mapping labels from image annotations ()
other429f317b55 core/unpack: tighten comments around id-mapping label filtering
othercc1b8a2dc5 core/unpack: don't honor id-mapping labels from image annotations
otherremotes: revert closing fetch readers at EOF ()
otherd265baec5a remotes: test fetch retries and HTTP reader lifetime
other9e8507bea8 Revert "remotes: close fetch reader immediately on EOF"
otherctr: disable slice flag separator on commands ()
other2543d23905 ctr: disable slice flag separator on commands
othervendor: github.com/fxamacker/cbor/v2 v2.9.4 ()
otherf00dd7552e vendor: github.com/fxamacker/cbor/v2 v2.9.4
othergithub.com/fxamacker/cbor/v2 v2.9.1 -> v2.9.4
breakingRemove deprecated CRI and tracing configuration options:
breakingRemove enable_cdi in CRI runtime configuration (CDI is now always enabled)
breakingRemove bin_dir in CRI CNI configuration (use bin_dirs)
breakingRemove endpoint, protocol, and insecure in OTLP tracing processor configuration (use standard OTLP environment variables)
breakingRemove service_name and sampling_ratio in internal tracing configuration (use standard OpenTelemetry environment variables) ()
breakingRemove restore in CreateContainer ()
breaking531b3a37b9 tracing: remove deprecated tracing config options
breakingee024b7c99 tracing: remove deprecated otlp configs
breakingf7c654fb4f cri: remove deprecated cni bin_dir
breaking4f7de25abb cri: remove enable_cdi config option
breaking4d13856983 cmd: remove redundant empty slice flag values
breaking211cde9039 cmd: remove uses of urfave/cli.Commands
breakingc52e77eccd cmd/ctr: remove unused pluginCmds
securityvendor: github.com/go-jose/go-jose/v4 v4.1.5 (security) ()
breakingplugins: remove some stray logrus imports ()
breakingb845501327 plugins: remove some stray logrus imports
breaking329998caa9 runtime/v2: remove the runtime-allow-mounts annotation
breakingRemove shim.Command form pkg ()
breakinginternal/cri/server: remove remaining uses of k8s.io/utils ()
breaking10e82fac8d internal/cri/server: remove remaining uses of k8s.io/utils
breakinginternal/cri/bandwidth: remove dead code ()
breakingfcb54dc5fa internal/cri/bandwidth: remove dead code
breakingRemove dependency on github.com/opencontainers/runtime-tools ()
breakingcri: remove restore in CreateContainer ()
breaking91be73ba62 cri: remove restore in CreateContainer
securitydocs/security: update security report triage criteria ()
securityfdf814c21a docs/security: update security report triage criteria
breakingREADME: remove Go Report Card badge ()
breaking5de7b675c6 README: remove Go Report Card badge
breaking0274924d74 gha: remove uses of "read-all" permissions
breaking8722c46313 gha: buf-breaking: pin actions by sha
breakingpkg/archive: remove redundant github.com/moby/sys/sequential dependency ()
breaking35f753cc44 pkg/archive: remove redundant github.com/moby/sys/sequential dependency
breakingpkg/oci: WithUser: remove redundant isErrRange utility ()
breaking633a5be1c9 pkg/oci: WithUser: remove redundant isErrRange utility
breakingremove 1.26.2 from CI builds as it is not supported any longer due to… ()
breakingpkg: remove unused nolint annotations ()
breaking899dee1f59 pkg: remove unused nolint annotations
breaking1ef7086 ci: remove custom working-directories and GOPATH
breakingRemove dependency on github.com/opencontainers/runtime-tools (containerd/nri#305)
+847 more items in the release notesfeatureFix image pulls being cancelled for no progress while layers are being unpacked ()
featureFix image pulls attempting registry hosts configured without pull capability ()
featureFix image push hanging indefinitely when registry authorization fails ()
featureFix regression where content copy rejected "-1" as an unknown size ()
featureFix container creation being admitted after a required NRI plugin disconnects ()
featureApply hardening to deny AF_ALG and AF_VSOCK sockets in the default AppArmor profile ()
featureEnsure grouped shims receive shutdown when the last active task is deleted ()
featureFix default AppArmor profile denying signals and ptrace between processes of the same container when profiles are stacked ()
featureFix tasks being omitted from task list and get when the shim State call times out ()
featureFix overlay directory removal and rename failures in rootless mode with tmpfs root on Linux 6.6+ ()
securityf14376393 vendor: github.com/go-jose/go-jose/v4 v4.1.7 (security)
security61c9fc743 vendor: github.com/go-jose/go-jose/v4 v4.1.6 (security)
fixcri: Fix image pull progress timeout during unpack ()
fix463648b35 cri: Fix image pull progress timeout during unpack
securityupdate runc binary to v1.5.3 (security) ()
featureapparmor: allow signals and ptrace for stacked profile peers ()
featuref4cc0fbaf apparmor: allow signals and ptrace for unconfined stacked peers
fix417abe58d cri: fix container_start_time_seconds unit conversion
featurecore/content: Copy: restore support for "-1" as unknown size ()
feature909c6069b core/content: Copy: restore support for "-1" as unknown size
fixfixes for runtime_platforms migration ()
fixfixes nil config flakes for spec and runtimeoptions ()
featureerofs: add fsync_on_commit to sync a layer before its commit ()
featured31af63df erofs: add fsync_on_commit to sync a layer before its commit
feature0a7f870 adaptation: add tests for the failure scenarios raised in review
featuree4785d7 api,adaptation,stub: add a per-plugin failure policy
featurereplace x/mod semver with local implementation (containerd/nri#320)
feature1365084 replace x/mod semver with local implementation
fixfix(adaptation): record sysctl removal markers in Linux.Sysctl (containerd/nri#300)
feature03cfa9c docs: add context to nri image keys
featureapi,adaptation: add container image info (containerd/nri#302)
feature6327012 api,adaptation: add container image info
breakingRemove dependency on github.com/opencontainers/runtime-tools (containerd/nri#305)
deprecatedreplace uses of deprecated gopkg.in/yaml.v3 module (containerd/nri#293)
deprecated8c90b09 replace uses of deprecated gopkg.in/yaml.v3 module
feature0a92ac9 delete manually-added none file
featuregithub.com/ProtonMail/go-crypto v1.4.1 new
featuregithub.com/cloudflare/circl v1.6.3 new
featurego.opentelemetry.io/otel/log v1.47.0 new
featurego.yaml.in/yaml/v3 v3.0.5 new
+143 more items in the release notessecurityCVE-2026-95839
securityGHSA-5p7c-hggf-c748
securityGHSA-8647-2jxj-p2rc
securityGHSA-hc94-p972-ch66
featureApply hardening to not follow symlinks for container log files ()
featureApply hardening to reject image references with ".." path components ()
featureApply hardening to allowlist socket domains in the default seccomp profile ()
featureApply hardening to filter ID-mapping labels from image annotations during unpack ()
otherPrepare release notes for v2.3.7 ()
otherc8b271adb Prepare release notes for v2.3.7
otherUpdate to go1.26.9 ()
other320278f96 Update to go1.26.9
otherca3d94d2f Merge commit from fork
other9621a5f9c remotes/docker: bound parallel fetch readers
otherdff0d82dd Merge commit from fork
other2181d7baa images: skip malformed digests when computing referrer labels
other29ed4ba2e Merge commit from fork
other80885a94d content, remotes: bound reads to expected size
other5c6687786 Merge commit from fork
other2e17e62e2 cri: unmount checkpoint view on every CRImportCheckpoint return path
fixintegration/client: fix TestContainerExecLargeOutputWithTTY ()
fixda23fb7af integration/client: fix TestContainerExecLargeOutputWithTTY
othercri: should not follow log file ()
other50a18659f cri: should not follow log file
otherreference: reject .. path components that rewrite the host ()
otherb3dd30ae5 reference: reject .. path components that rewrite the host
othervendor: google.golang.org/grpc v1.83.2 ()
other993898bbf [release/2.3] vendor: google.golang.org/grpc v1.83.2
othercore/unpack: don't honor id-mapping labels from image annotations ()
otherfe408f2a4 core/unpack: tighten comments around id-mapping label filtering
other3ab5f9c0e core/unpack: don't honor id-mapping labels from image annotations
featureseccomp: Use an allow-list for socket domains ()
feature658428e2f seccomp: Use an allow-list for socket domains
otherConditional actions ()
breakingc73186ea6 Makefile: remove go mod download from integration
other030b7b3f7 ci: skip linters steps in private repositories
otherec6240e3e workflows: skip non-CI jobs in private forks
otherupdate runc binary to v1.5.2 ()
other63092f411 update runc binary to v1.5.2
othergo.opentelemetry.io/otel v1.43.0 -> v1.44.0
+14 more items in the release notes