Skip to content

[release/2.2] core/unpack: don't honor id-mapping labels from image annotations - #14269

Merged
estesp merged 2 commits into
containerd:release/2.2from
samuelkarp:cherry-pick-13855-to-release/2.2
Sep 30, 2026
Merged

estesp merged 2 commits into
containerd:release/2.2from
samuelkarp:cherry-pick-13855-to-release/2.2

Conversation

@samuelkarp

@samuelkarp samuelkarp commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Cherry pick #13855

Apply hardening to filter ID-mapping labels from image annotations during unpack

Signed-off-by: Aysha Afrah Ziya <[email protected]>
(cherry picked from commit 46c1902)
Signed-off-by: Samuel Karp <[email protected]>
Signed-off-by: Aysha Afrah Ziya <[email protected]>
(cherry picked from commit b368da9)
Signed-off-by: Samuel Karp <[email protected]>
@thaJeztah

Copy link
Copy Markdown
Member

Flaky test?

=== Failed
=== FAIL: integration/client TestContainerHostname (0.31s)
    log_hook.go:47: time="2026-09-30T17:43:24.483666098Z" level=debug msg="remote introspection plugin filters" func="proxy.(*introspectionRemote).Plugins" file="/home/runner/work/containerd/containerd/core/introspection/proxy/remote.go:59" filters="[type==io.containerd.snapshotter.v1, id==overlayfs]" testcase=TestContainerHostname
    container_test.go:1388: expected output "myhostname" but received ""

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp
estesp merged commit c6128c3 into containerd:release/2.2 Sep 30, 2026
125 of 129 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants