-
Notifications
You must be signed in to change notification settings - Fork 860
[release-1.37] Bump runc to v1.2.8 - CVE-2025-52881 #6537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-1.37
Are you sure you want to change the base?
[release-1.37] Bump runc to v1.2.8 - CVE-2025-52881 #6537
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: TomSweeneyRedHat The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
575e857 to
eef214b
Compare
|
Ephemeral COPR build failed. @containers/packit-build please check. |
Bump runc to v1.2.9 to fix CVE-2025-52881. This also fixes CVE-2025-31133 and CVE-2025-52565. Partially fixes: https://issues.redhat.com/browse/OCPBUGS-64913, https://issues.redhat.com/browse/OCPBUGS-64911 once merged into Podman. runc v1.2.9 also fixes a couple of regressions that were in the original CVE 1.2.8 patch. Signed-off-by: tomsweeneyredhat <[email protected]>
eef214b to
ad2e3c9
Compare
The latest runc requires Go 1.22. Bump int in the Makefile to that version. Signed-off-by: tomsweeneyredhat <[email protected]>
These functions were removed in github.com/opencontainers/selinux v1.12.0. Signed-off-by: tomsweeneyredhat <[email protected]>
ad9979b to
7d4c4f7
Compare
Bumping golang.org/x/tools to v0.26.0 per @nalind's suggestion. Signed-off-by: tomsweeneyredhat <[email protected]>
7d4c4f7 to
0517f18
Compare
Apparently, per lint, the userns.RunningInUserNS() function has moved from runc, to moby. Update the library location. Signed-off-by: tomsweeneyredhat <[email protected]>
Update references to specific versions of golang in the Makefile and the Cirrus CI configuration to match go.mod, and add a check in the 'vendor' target that CI runs that the image it's run inside is a close-enough match to the version listed in go.mod. Signed-off-by: Nalin Dahyabhai <[email protected]>
0517f18 to
c840a16
Compare
Stealing from @cevich's work in containers#6520. In CI, the project and tests are compiled, so therefore require newer CI/VM images with support for the newer golang requirements. Signed-off-by: tomsweeneyredhat <[email protected]>
c840a16 to
0fbbd55
Compare
02007e0 to
05e00fb
Compare
a18b612 to
824b927
Compare
Bumping onsi/ginkgo to v2 and the x/tools to v0.26 in the test/tools directory Signed-off-by: tomsweeneyredhat <[email protected]>
Signed-off-by: Nalin Dahyabhai <[email protected]> Signed-off-by: tomsweeneyredhat <[email protected]>
Ambient capabilities can't be raised without inheritable ones, and since we don't raise inheritable, we should not raise ambient either. This went unnoticed because of a bug in syndtr/gocapability which is only fixed in its fork (see the next commit). Amends commit e7e55c9. Signed-off-by: Kir Kolyshkin <[email protected]> Signed-off-by: tomsweeneyredhat <[email protected]>
824b927 to
499b430
Compare
... setting RLIMIT_NPROC wrong The version of containers/common we're currently using on this branch included a bug which was later fixed by containers/common#2199. If we get an update on its v0.60 branch which includes that fix, we can drop this patch from this branch, but until then, work around the part that breaks our tests. Signed-off-by: Nalin Dahyabhai <[email protected]> Signed-off-by: tomsweeneyredhat <[email protected]>
Bump Buildah to v1.37.7 Signed-off-by: tomsweeneyredhat <[email protected]>
499b430 to
0e28a01
Compare
Bump runc to v1.2.8 to fix CVE-2025-52881. This also
fixes CVE-2025-31133 and CVE-2025-52566.
Partially fixes: https://issues.redhat.com/browse/OCPBUGS-64913, https://issues.redhat.com/browse/OCPBUGS-64911
once merged into Podman.
What type of PR is this?
What this PR does / why we need it:
How to verify it
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?