doc(k3s): GHSA-pwhc-rpq9-4c8w #25404
Merged
+24
−0
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.
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