fix(deps): update module github.com/containerd/containerd/v2 to v2.0.7 [security] (alauda-3.18.6)#73
Merged
nanjingfm merged 1 commit intoJun 1, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.0.0->v2.0.7containerd has an integer overflow in User ID handling
CVE-2024-40635 / GHSA-265r-hfxg-fhmg / GO-2025-3528
More information
Details
Impact
A bug was found in containerd where containers launched with a User set as a
UID:GIDlarger than the maximum 32-bit signed integer can cause an overflow condition where the container ultimately runs as root (UID 0). This could cause unexpected behavior for environments that require containers to run as a non-root user.Patches
This bug has been fixed in the following containerd versions:
Users should update to these versions to resolve the issue.
Workarounds
Ensure that only trusted images are used and that only trusted users have permissions to import images.
Credits
The containerd project would like to thank Benjamin Koltermann and emxll for responsibly disclosing this issue in accordance with the containerd security policy.
References
For more information
If you have any questions or comments about this advisory:
To report a security issue in containerd:
Severity
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
containerd has an integer overflow in User ID handling in github.com/containerd/containerd
CVE-2024-40635 / GHSA-265r-hfxg-fhmg / GO-2025-3528
More information
Details
containerd has an integer overflow in User ID handling in github.com/containerd/containerd
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
containerd CRI server: Host memory exhaustion through Attach goroutine leak
CVE-2025-64329 / GHSA-m6hq-p25p-ffr2 / GO-2025-4108
More information
Details
Impact
A bug was found in containerd's CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks.
Repetitive calls of CRI Attach (e.g.,
kubectl attach) could increase the memory usage of containerd.Patches
This bug has been fixed in the following containerd versions:
Users should update to these versions to resolve the issue.
Workarounds
Set up an admission controller to control accesses to
pods/attachresources.e.g., Validating Admission Policy.
Credits
The containerd project would like to thank @Wheat2018 for responsibly disclosing this issue in accordance with the containerd security policy.
References
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-64329
For more information
If you have any questions or comments about this advisory:
To report a security issue in containerd:
Severity
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
containerd affected by a local privilege escalation via wide permissions on CRI directory in github.com/containerd/containerd
CVE-2024-25621 / GHSA-pwhc-rpq9-4c8w / GO-2025-4100
More information
Details
containerd affected by a local privilege escalation via wide permissions on CRI directory in github.com/containerd/containerd
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
containerd CRI server: Host memory exhaustion through Attach goroutine leak in github.com/containerd/containerd
CVE-2025-64329 / GHSA-m6hq-p25p-ffr2 / GO-2025-4108
More information
Details
containerd CRI server: Host memory exhaustion through Attach goroutine leak in github.com/containerd/containerd
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
containerd affected by a local privilege escalation via wide permissions on CRI directory
CVE-2024-25621 / GHSA-pwhc-rpq9-4c8w / GO-2025-4100
More information
Details
Impact
An overly broad default permission vulnerability was found in containerd.
/var/lib/containerdwas created with the permission bits 0o711, while it should be created with 0o700/run/containerd/io.containerd.grpc.v1.criwas created with 0o755, while it should be created with 0o700/run/containerd/io.containerd.sandbox.controller.v1.shimwas created with 0o711, while it should be created with 0o700The directory paths may differ depending on the daemon configuration.
When the
tempdirectory path is specified in the daemon configuration, that directory was also created with 0o711, while it should be created with 0o700.Patches
This bug has been fixed in the following containerd versions:
Users should update to these versions to resolve the issue.
These updates automatically change the permissions of the existing directories.
Workarounds
The system administrator on the host can manually chmod the directories to not
have group or world accessible permisisons:
An alternative mitigation would be to run containerd in rootless mode.
Credits
The containerd project would like to thank David Leadbeater for responsibly disclosing this issue in accordance with the containerd security policy.
For more information
If you have any questions or comments about this advisory:
To report a security issue in containerd:
Severity
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
containerd/containerd (github.com/containerd/containerd/v2)
v2.0.7: containerd 2.0.7Compare Source
Welcome to the v2.0.7 release of containerd!
The seventh patch release for containerd 2.0 includes various bug fixes and updates.
Security Updates
containerd
runc
Highlights
Container Runtime Interface (CRI)
Image Distribution
Runtime
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
Changes
56 commits
4931e24f1Prepare release notes for v2.0.7205bc4f2dUpdate mailmap5f708b76aMerge commit from fork8cd112d82Fix directory permissions05290b5bcMerge commit from fork4d1edf4adfix goroutine leak of container Attachb46dc6a67runc: Update runc binary to v1.3.35e9c82178Update GHA runners to use latest images for basic binaries build7f59248dcUpdate GHA runners to use latest image for most jobse1373e8a8ci: bump Go 1.24.9, 1.25.3e1a910a6aci: bump Go 1.24.8; 1.25.2fd04b7f17move exclude-dirs to issues.exclude-dirsb49377975update golangci-lint to v1.64.26e45022a1build(deps): bump golangci/golangci-lint-action from 6.3.2 to 6.5.009ce0f2a1build(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.3.2de63a740bbuild(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0f953ee8a3bugfix:fix container logs lost because io close too quicklyf6f15f513CI: update Fedora to 432a2329cbdcri/server/podsandbox: disable event subscriberdfb954743CI: skip ubuntu-24.04-arm on private reposf6b02f6bbRemove additional fuzzers from CI75c13ee3frunc:Update runc binary to v1.3.1427cdd06cadd SystemdCgroup to default runtime options0b35e19fbinstall-runhcs-shim: fetch target commit instead of tags3212afc2fintegration: Add test for directives with usernsb855c6e10cri: Fix userns with Dockerfile VOLUME mounts that need copy05c0c99f4core/mount: Retry unmounting idmapped directoriesafdede4cecore/mount: Test cleanup of DoPrepareIDMappedOverlay()47205f814core/mount: Properly cleanup on doPrepareIDMappedOverlay errors6f4abd970core/mount: Don't call nil function on errorsa2f0d65d7core/mount: Only idmap once per overlayfs, not per layer1c32accd7Make ovl idmap mounts read-only9e72e91e6ci: bump Go 1.23.12, 1.24.6009622e04fix: create bootstrap.json with 0644 permission5bec0a332sys: fix pidfd leak in UnshareAfterEnterUserns2a2488131Fix intermittent test failures on Windows CIs018470948Remove WS2025 from CIs due to regressionb50cbbc98Add dial timeout field to hosts toml configurationDependency Changes
This release has no dependency changes
Previous release can be found at v2.0.6
Which file should I download?
containerd-<VERSION>-<OS>-<ARCH>.tar.gz: ✅Recommended. Dynamically linked with glibc 2.31 (Ubuntu 20.04).containerd-static-<VERSION>-<OS>-<ARCH>.tar.gz: Statically linked. Expected to be used on non-glibc Linux distributions. Not position-independent.In addition to containerd, typically you will have to install runc
and CNI plugins from their official sites too.
See also the Getting Started documentation.
v2.0.6: containerd 2.0.6Compare Source
Welcome to the v2.0.6 release of containerd!
The sixth patch release for containerd 2.0 includes various bug fixes and updates.
Highlights
Container Runtime Interface (CRI)
Go client
Image Distribution
Runtime
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
Changes
49 commits
d94b0fee6Prepare release notes for v2.0.6f901e3c81ci: bump Go 1.23.11, 1.24.57e4ac4761go.mod: golang.org/x/* latestbed6d1401client/New: Don't unlazy the gRPC connection implicitly8094fa21acri:fix containerd panic when can't find sandbox extension552f717bebugfix:close container io when runtime create failedc4394d05aFix the panic caused by the failure of RunPodSandbox54f923a30ci: bump golang [1.23.10, 1.24.4] in build and release2de777dfeci: bump golang [1.23.9, 1.24.3] in build and release9724cd5eaEnable CIs to run on WS2022 and WS20257fc3151fc*: properly shutdown non-groupable shims to prevent resource leaks4396336a1core/runtime: should invoke shim binary10bcc6929Revert "not set sandbox id when use podsandbox type"f38eb62b6integration: add testcase to recover ungroupable shim2358561d5Update release upgrade tests to test 1.7 and 2.08931b1464Fix upgrade test runtime configfc9235910Fetch image with default platform only in TestExportAndImportMultiLayerf8679737estore extension when create sandbox in storecbfa66223fix(docker pusher): if authorizing a cross-repo mount fails, fall back7bf4d0a40.github: do not mark 2.0 releases as latestfa5a08244Update runc binary to v1.3.07cf3c604efix unbound SKIP_TEST variable error827be7c9dRevert "disable portmap test in ubuntu-22 to make CI happy"626a57dd7fix: update containerd config dump to reflect plugin config migrations.983dd336fcore/transfer/local: should not mark complete if it's not foundd2a30ea0cRevert criserver metrics subsystem back to crie9804ee0enot set sandbox id when use podsandbox type9ddeff7f7Fix vagrant setupDependency Changes
aacd6d4->6ae5c78Previous release can be found at v2.0.5
Which file should I download?
containerd-<VERSION>-<OS>-<ARCH>.tar.gz: ✅Recommended. Dynamically linked with glibc 2.31 (Ubuntu 20.04).containerd-static-<VERSION>-<OS>-<ARCH>.tar.gz: Statically linked. Expected to be used on non-glibc Linux distributions. Not position-independent.In addition to containerd, typically you will have to install runc
and CNI plugins from their official sites too.
See also the Getting Started documentation.
v2.0.5: containerd 2.0.5Compare Source
Welcome to the v2.0.5 release of containerd!
The fifth patch release for containerd 2.0 includes various bug fixes and updates.
Highlights
Build and Release Toolchain
Container Runtime Interface (CRI)
Image Distribution
Runtime
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
Changes
33 commits
5bcf0a95euse go1.23.8 as the default go version4838f33f7update to go 1.24.2, 1.23.8a8082cd60Prepare release notes for v2.0.558b715ad8Disable arm64 criu testing in GH Actionsb4a53e826disable portmap test in ubuntu-22 to make CI happy4bcf472deadd option to skip tests in critest8a638b71aPrevent panic in Docker pusher.84d9658c3Set default differ for the default unpack config of transfer serviceb184a97d3ci: update GitHub Actions release runner to ubuntu-24.04e04543db0use shimCtx for fifo copy9f46e7a44integration/client: add tests for TaskOptions is not empty8a16a6a04prefer task options for PluginInfo requesta183b2d23update taskOptions based on runtimeOptions when creating a task091143135*: CRIImageService should delete image synchronouslyc2372c072Update runc binary to v1.2.6e8506511bgo.{mod,sum}: bump CDI deps to stable v1.0.0.4cfb89430go.mod: github.com/go-jose/go-jose/v42b9e6a29dgo.mod: golang.org/x/oauth2 v0.28.06df1ea0d9go.mod: golang.org/x/net v0.37.016f20abdfFix CI lint errorDependency Changes
Previous release can be found at v2.0.4
Which file should I download?
containerd-<VERSION>-<OS>-<ARCH>.tar.gz: ✅Recommended. Dynamically linked with glibc 2.31 (Ubuntu 20.04).containerd-static-<VERSION>-<OS>-<ARCH>.tar.gz: Statically linked. Expected to be used on non-glibc Linux distributions. Not position-independent.In addition to containerd, typically you will have to install runc
and CNI plugins from their official sites too.
See also the Getting Started documentation.
v2.0.4: containerd 2.0.4Compare Source
Welcome to the v2.0.4 release of containerd!
The fourth patch release for containerd 2.0 includes various bug fixes and updates.
Highlights
client.WithTimeoutoption on connect (#11536)Node Resource Interface (NRI)
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
Changes
19 commits
1a43cb6a1Merge commit from fork07a0b5419(cherry picked from commitde1341c)06a886a8ePrepare release notes for v2.0.4client.WithTimeoutoption on connect (#11536)6b5efba83client: Respectclient.WithTimeoutoption916d48722core/remotes: Handle attestations in MakeRefKeydf4d905a6core/images: Ignore attestations when traversing children4f037050cadd name in package versione5ad0d0a0update build to go1.23.7, test go1.24.1a39f1146bdocs: include note about unprivileged sysctls81b3384a0e2e: use the shim bundled with containerd artifact7215a7d2cbuild(deps): bump containerd/project-checks from 1.1.0 to 1.2.1Dependency Changes
This release has no dependency changes
Previous release can be found at v2.0.3
Which file should I download?
containerd-<VERSION>-<OS>-<ARCH>.tar.gz: ✅Recommended. Dynamically linked with glibc 2.31 (Ubuntu 20.04).containerd-static-<VERSION>-<OS>-<ARCH>.tar.gz: Statically linked. Expected to be used on non-glibc Linux distributions. Not position-independent.In addition to containerd, typically you will have to install runc
and CNI plugins from their official sites too.
See also the Getting Started documentation.
v2.0.3: containerd 2.0.3Compare Source
Welcome to the v2.0.3 release of containerd!
The third patch release for containerd 2.0 includes various bug fixes and updates.
Highlights
Container Runtime Interface (CRI)
Node Resource Interface (NRI)
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors
Changes
42 commits
b8dde9189Prepare release notes for v2.0.3eaa7ca80dproxy: break up writes from the remote writer to avoid grpc limitsc7f64196fFix privileged container sysfs can't be rw because pod is ro by default92ae2951fUpdate CDI dependency to v0.8.1.569af34cbPrefer runtime options for PluginInfo request0ce93e16aprevent oom watcher depend on shim pkg.f3284aa68CI: arm64-8core-32gb -> ubuntu-24.04-armb5313993cRevert "Add timestamp to PodSandboxStatusResponse for kubernetes Evented PLEG"f95a426b8move the device after the options when using mkfs.ext44d19a6adfupdate build to go1.23.6, test go1.24.0c738c3aabbuild(deps): bump actions/cache from 4.1.2 to 4.2.0fcf64305cUpdate vendor files to fix build failured3437eb29Upgrade x/net to 0.33.00785bd8ccUpdate install-imgcrypt to allow change install repo697c59c63Update runc binary to v1.2.506891f899fix go-cni race condition79cdbf61bcri,nri: block NRI plugin sync. during event processing.9d5cfce83Update github.com/containerd/imgcrypt to v2.0.0f58939c33Remove deprecated WithCDIDevices in oci spec opts3d53430feMove CDI device spec out of the OCI package1f4e5688eupdate to go1.23.5 / go1.22.113a6ab80d0](https://redirect.github.com/containerd/containerd/commit/3a6ab80d0Configuration
📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.