azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

[Medium] Patch kubernetes for CVE-2025-52881

Open v-aaditya opened this issue 4 weeks ago • 0 comments

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • [x] The toolchain has been rebuilt successfully (or no changes were made to it)
  • [x] The toolchain/worker package manifests are up-to-date
  • [x] Any updated packages successfully build (or no packages were changed)
  • [x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • [x] All package sources are available
  • [x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • [x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • [x] All source files have up-to-date hashes in the *.signatures.json files
  • [x] sudo make go-tidy-all and sudo make go-test-coverage pass
  • [x] Documentation has been updated to match any changes to the build system
  • [ ] Ready to merge

Summary

Patch kubernetes for CVE-2025-52881

  • Patch has been backported manually.

  • "procfs_securejoin.go" file has not been added as the "Reopen()" is already declared in one of the go files which has been imported for CVE-2025-52565.

  • Changes in "libcontainer/exeseal/cloned_binary_linux.go" file has not been included as this file does not exist in our version of kubernetes <1.30.10-16>

  • "fifoFile" has been added to struct "linuxStandardInit" in "libcontainer/standard_init_linux.go" file for completeness.

  • Upstream Patch Reference: https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480.patch

Change Log
  • new file: SPECS/kubernetes/CVE-2025-52881.patch
  • modified: SPECS/kubernetes/kubernetes.spec
Does this affect the toolchain?

NO

Associated issues
  • #15167
  • #15192
Links to CVEs
  • https://nvd.nist.gov/vuln/detail/CVE-2025-52881
Test Methodology

v-aaditya avatar Dec 04 '25 07:12 v-aaditya