Skip to content

[release/2.0] Prepare release notes for v2.0.10#13630

Merged
samuelkarp merged 6 commits into
containerd:release/2.0from
samuelkarp:prepare-2.0.10
Jun 18, 2026
Merged

[release/2.0] Prepare release notes for v2.0.10#13630
samuelkarp merged 6 commits into
containerd:release/2.0from
samuelkarp:prepare-2.0.10

Conversation

@samuelkarp

Copy link
Copy Markdown
Member

containerd 2.0.10

Welcome to the v2.0.10 release of containerd!

The tenth patch release for containerd 2.0 includes various bug fixes and updates including security patches.

Security Updates

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

Contributors

  • Samuel Karp
  • Chris Henzie
  • Akhil Mohan
  • Akihiro Suda
  • Ben Cressey
  • Davanum Srinivas
  • Paweł Gronowski
  • Sebastiaan van Stijn

Changes

16 commits

  • cbbd21672 Prepare release notes for v2.0.10
  • 200a4005f Merge commit from fork
  • da4098647 Merge commit from fork
  • 03a19324f Bound user-database file reads in openBoundedUserFile
  • 126177ea4 Merge commit from fork
  • bbf4a2b8e Do not propagate reserved labels from image configs
  • update runc binary to v1.3.6 (#13619)
    • a15e98122 update runc binary to v1.3.6
    • ba2ed2a5e [release/2.2] update runc binary to v1.3.5
    • 474184497 runc: Update runc binary to v1.3.4
  • update go to 1.26.4/1.25.11 (#13581)
  • Configure udevd children-max for root-test (#13565)
    • 55bdc8bc5 Configure udevd children-max for root-test
  • Clean up disk space in node e2e workflow (#13553)
    • 6d81e8867 Clean up disk space in node e2e workflow

Dependency Changes

This release has no dependency changes

Previous release can be found at v2.0.9

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.

chrishenzie and others added 6 commits June 8, 2026 16:15
Port of 7b05ec4 to the release/2.0 call shape, which reads user
databases via path-based user.ParsePasswdFile* / ParseGroupFile*
helpers rather than the fs.FS-based openUserFile wrapper introduced
later on main.

UserFromPath, GIDFromPath, getSupplementalGroupsFromPath, and the
setAdditionalGids closure in WithAppendAdditionalGroups now open
/etc/passwd or /etc/group via openBoundedUserFile, which stats the
resolved path, refuses anything that is not a regular file, and
returns an io.ReadCloser that caps reads at maxUserFileBytes (10
MiB). The reader is consumed by the user.ParsePasswdFilter /
ParseGroupFilter / ParseGroup variants. All four call sites read
either etc/passwd or etc/group; both are regular files on real
systems, well under the cap.

The cap and the regular-file check together bound parser memory use
when reading user-database files of unexpected shape or size.

Adds tests for the cap and for the non-regular file rejection. The
cap test covers three boundary points: a small pad (trailing entry
parsed), a pad placing the entry's last byte exactly on the cap
(still parsed), and a pad past the cap (read returns an "exceeds"
error). The non-regular test verifies a FIFO at etc/group is
rejected before any read is attempted.

Updates TestWithAppendAdditionalGroupsNoEtcGroup to expect "stat
... no such file or directory" instead of "open ...". The
soft-on-missing behavior of WithAppendAdditionalGroups is unchanged.

(cherry picked from commit 7b05ec4)
Signed-off-by: Chris Henzie <[email protected]>
Signed-off-by: Brian Goff <[email protected]>
Signed-off-by: Chris Henzie <[email protected]>
Image config labels are copied onto the container by both the CRI
plugin (BuildLabels) and the client's WithImageConfigLabels option
used by `ctr run`. Labels in the containerd.io/* namespace are
interpreted by containerd itself and labels in the io.cri-containerd*
namespace are interpreted by the CRI plugin. An image config is not a
trusted source for labels in either namespace.

Skip labels in both reserved namespaces when copying labels from an
image config to a container, and warn about each label skipped: an
image that tries to set them may be attempting to alter containerd
behavior. Oversized image labels are already skipped this way by
the CRI plugin.

Labels set explicitly by clients, for example via `ctr run --label`
or in the CRI request, are unaffected.

Verified with the CRI plugin and with `ctr run` against an image
whose config carries labels like these: the labels are no longer
present on the created container and a warning is logged for each.

Assisted-by: Claude Code
Signed-off-by: Ben Cressey <[email protected]>
Signed-off-by: Samuel Karp <[email protected]>
(cherry picked from commit 0ec1af4)
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Samuel Karp <[email protected]>
@k8s-ci-robot

Copy link
Copy Markdown

Adding label do-not-merge/contains-merge-commits because PR contains merge commits, which are not allowed in this repository.
Use git rebase to reapply your commits on top of the target branch. Detailed instructions for doing so can be found here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Jun 18, 2026
@samuelkarp
samuelkarp merged commit ffa3ba0 into containerd:release/2.0 Jun 18, 2026
88 of 92 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants