Skip to content

[release/2.1] oci: return explicit error for out-of-range USER values#13497

Merged
samuelkarp merged 1 commit into
containerd:release/2.1from
k8s-infra-cherrypick-robot:cherry-pick-13448-to-release/2.1
Jun 1, 2026
Merged

[release/2.1] oci: return explicit error for out-of-range USER values#13497
samuelkarp merged 1 commit into
containerd:release/2.1from
k8s-infra-cherrypick-robot:cherry-pick-13448-to-release/2.1

Conversation

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #13448

/assign cpuguy83

Fix handling of out-of-range USER values in OCI spec to avoid unexpected username/group lookups

Detect strconv.ErrRange and validate uid/gid bounds to avoid falling back to username/group lookups.

Signed-off-by: LEI WANG <[email protected]>
(cherry picked from commit 85706b6)
Signed-off-by: Chris Henzie <[email protected]>
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review May 29, 2026
@samuelkarp
samuelkarp merged commit b27eaa3 into containerd:release/2.1 Jun 1, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Jun 1, 2026
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.

6 participants