Skip to content

[HIGH] Patch coredns for CVE-2025-47950 #14023

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

Open
wants to merge 2 commits into
base: fasttrack/3.0
Choose a base branch
from

Conversation

aninda-al
Copy link
Contributor

Merge Checklist

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

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

Summary

Address CVE-2025-47950

Upstream Patch Reference: coredns/coredns@efaed02
Upstream patch applies cleanly?
NO
hunk Failed for 4 of the 10 files.

List of files unavailable/skipped during backporting

  • None: All 10 files listed in the upstream patch were included during patch creation.

Note: There is an existing test failure for this package and I verified that it was not introduced during this CVE fix.

Change Log
  • modified: SPECS/coredns/coredns.spec
  • modified: SPECS/coredns/CVE-2025-47950.patch
Does this affect the toolchain?

NO

Associated issues
  • #NA
Links to CVEs
Test Methodology
  • Pipeline build id: local build
  • Patch applies cleanly during package build?
    YES
    image

@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Jun 17, 2025
@aninda-al aninda-al force-pushed the v-anipradhan/coredns/CVE-2025-47950-3.0 branch from 5612c2e to ee3386c Compare June 17, 2025 14:46
Copy link
Contributor

@Kanishk-Bansal Kanishk-Bansal left a comment

Choose a reason for hiding this comment

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

/azurepipelines run

@Kanishk-Bansal
Copy link
Contributor

refactor prep to
%autosetup -p1 -a1

@aninda-al aninda-al force-pushed the v-anipradhan/coredns/CVE-2025-47950-3.0 branch from f386ca1 to 732797f Compare June 18, 2025 00:53
@aninda-al aninda-al marked this pull request as ready for review June 18, 2025 00:53
@aninda-al aninda-al requested a review from a team as a code owner June 18, 2025 00:53
@aninda-al
Copy link
Contributor Author

refactor prep to %autosetup -p1 -a1

I did refactor the prep section, but I had to swap p & a to be consistent with the current steps

@Kanishk-Bansal
Copy link
Contributor

/azurepipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mbykhovtsev-ms mbykhovtsev-ms added the CVEFixReadyForMaintainerReview When a CVE fix has been reviewed by release manager and is ready for stable maintainer review label Jun 18, 2025
@jslobodzian
Copy link
Collaborator

/azurepipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CVEFixReadyForMaintainerReview When a CVE fix has been reviewed by release manager and is ready for stable maintainer review fasttrack/3.0 PRs Destined for Azure Linux 3.0 Packaging security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants