Skip to content

Conversation

@catmsred
Copy link
Member

The affected component's suffix is non-standard for parsing. It treats -k3s1
as an unknown qualifier that sorts after known ones (alpha, beta, rc, ga,
etc.), which breaks version matching.

The suffix is used in k3s because k3s pull in their own fork of containerd. In
this case, all fixes associated with this vulnerability from upstream are also
mirrored in the k3s containerd fork. See below for details:

Fix commit in containerd from CVE advisory: containerd/containerd@7c59e8e

Verifying the same 4 file changes appear in https://github.com/k3s-io/containerd/tree/v2.1.5:

cmd/containerd/server/server.go

https://github.com/k3s-io/containerd/blob/v2.1.5/cmd/containerd/server/server.go#L82-87
https://github.com/k3s-io/containerd/blob/v2.1.5/cmd/containerd/server/server.go#L109
core/runtime/v2/task_manager.go

https://github.com/k3s-io/containerd/blob/v2.1.5/core/runtime/v2/task_manager.go#L78-79
plugins/cri/runtime/plugin.go

https://github.com/k3s-io/containerd/blob/v2.1.5/plugins/cri/runtime/plugin.go#L82-88
plugins/sandbox/controller.go

https://github.com/k3s-io/containerd/blob/v2.1.5/plugins/sandbox/controller.go#L71-75

Relates: wolfi-dev/os#72115

The affected component's suffix is non-standard for parsing. It treats -k3s1
as an unknown qualifier that sorts after known ones (alpha, beta, rc, ga,
etc.), which breaks version matching.

The suffix is used in k3s because k3s pull in their own fork of containerd. In
this case, all fixes associated with this vulnerability from upstream are also
mirrored in the k3s containerd fork. See below for details:

Fix commit in containerd from CVE advisory: containerd/containerd@7c59e8e

Verifying the same 4 file changes appear in https://github.com/k3s-io/containerd/tree/v2.1.5:

cmd/containerd/server/server.go

https://github.com/k3s-io/containerd/blob/v2.1.5/cmd/containerd/server/server.go#L82-87
https://github.com/k3s-io/containerd/blob/v2.1.5/cmd/containerd/server/server.go#L109
core/runtime/v2/task_manager.go

https://github.com/k3s-io/containerd/blob/v2.1.5/core/runtime/v2/task_manager.go#L78-79
plugins/cri/runtime/plugin.go

https://github.com/k3s-io/containerd/blob/v2.1.5/plugins/cri/runtime/plugin.go#L82-88
plugins/sandbox/controller.go

https://github.com/k3s-io/containerd/blob/v2.1.5/plugins/sandbox/controller.go#L71-75

Relates: wolfi-dev/os#72115
@catmsred catmsred force-pushed the k3s/GHSA-pwhc-rpq9-4c8w branch from 899c5da to 565f30d Compare November 17, 2025 19:07
@dnegreira dnegreira added this pull request to the merge queue Nov 17, 2025
Merged via the queue into wolfi-dev:main with commit 608836a Nov 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants