Skip to content

[Medium] Patch systemd for CVE-2025-4598 #13997

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 4 commits into
base: 3.0-dev
Choose a base branch
from

Conversation

akhila-guruju
Copy link
Contributor

@akhila-guruju akhila-guruju commented Jun 13, 2025

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

Patch systemd for CVE-2025-4598
For CVE-2025-4598:
Patch Modified: Yes

  • Modified the file man/version-info.xml by adding XML id (from upstream), because the file systemd-coredump.xml introduced new id in upstream patch. Without this modification the build fails. Except this, every file change matches with upstream patch.

Taken patch systemd/systemd-stable@254ab8d from upstream. NIST/Debian mentions here https://security-tracker.debian.org/tracker/CVE-2025-4598 that it fixes this CVE.

Change Log
  • new file: SPECS/systemd/CVE-2025-4598.patch
  • modified: SPECS/systemd/systemd.spec
  • modified: SPECS-SIGNED/systemd-boot-signed/systemd-boot-signed.spec (Bump release to match systemd spec and to pass PR check)
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Local build
  • ptests are failing before applying patch
  • Patch applies cleanly
    Screenshot 2025-06-18 182934

@akhila-guruju akhila-guruju requested a review from a team as a code owner June 13, 2025 08:18
@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Jun 13, 2025
@akhila-guruju akhila-guruju marked this pull request as draft June 13, 2025 08:33
@akhila-guruju akhila-guruju marked this pull request as ready for review June 13, 2025 10:33
@microsoft microsoft deleted a comment from akhila-guruju Jun 13, 2025
@Kanishk-Bansal
Copy link
Contributor

Buddy Build

@Kanishk-Bansal Kanishk-Bansal requested a review from a team June 13, 2025 18:12
@akhila-guruju akhila-guruju marked this pull request as draft June 18, 2025 10:19
@akhila-guruju akhila-guruju changed the title [Medium] Patch systemd for CVE-2025-4598 [Medium] Patch systemd for CVE-2025-4598 & CVE-2025-5054 Jun 18, 2025
@akhila-guruju akhila-guruju marked this pull request as ready for review June 19, 2025 03:23
@akhila-guruju akhila-guruju marked this pull request as draft June 19, 2025 04:17
@akhila-guruju akhila-guruju changed the title [Medium] Patch systemd for CVE-2025-4598 & CVE-2025-5054 [Medium] Patch systemd for CVE-2025-4598 Jun 19, 2025
@akhila-guruju akhila-guruju marked this pull request as ready for review June 19, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0-dev PRs Destined for AzureLinux 3.0 Packaging security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants