Skip to content

[MEDIUM] Patch libxslt for CVE-2025-7424#15254

Merged
kgodara912 merged 2 commits intomicrosoft:mainfrom
archana25-ms:topic_libxslt-2.0
Dec 22, 2025
Merged

[MEDIUM] Patch libxslt for CVE-2025-7424#15254
kgodara912 merged 2 commits intomicrosoft:mainfrom
archana25-ms:topic_libxslt-2.0

Conversation

@archana25-ms
Copy link
Copy Markdown
Contributor

@archana25-ms archana25-ms commented Dec 8, 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

What does the PR accomplish, why was it needed?
Upgrade: libxslt version to 1.1.43 and fix CVE-2025-7424

Change Log
  • SPECS/libxslt/CVE-2025-7424.patch
  • SPECS/libxslt/libxslt.spec
  • SPECS/libxslt/libxslt-source-node-extra-data-infra.patch
Does this affect the toolchain?

NO

Links to CVEs
Test Methodology
  • Pipeline build id: xxxx

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Buddy Build

@archana25-ms
Copy link
Copy Markdown
Contributor Author

libxslt is version upgraded to 1.1.43 which already has fix

image image image
  • Build is successful.
image

@archana25-ms
Copy link
Copy Markdown
Contributor Author

Buddy Build

Buddy build is successful.

@Kanishk-Bansal Kanishk-Bansal changed the title [MEDIUM] Upgrade: libxslt version to 1.1.43 and fix CVE-2025-7424 [MEDIUM] Upgrade: libxslt to 1.1.43 and patch CVE-2025-7424 Dec 8, 2025
Copy link
Copy Markdown
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.

Minor version up to 1.1.43, after this upgrade the patch of CVE-2025-7424 applies cleanly. Some patches were remove as a part of minor upgrade as those were already covered in this release. Changes LGTM.

We have similar changes in 3.0 as well which is already merged without any regression

@Kanishk-Bansal Kanishk-Bansal added the ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review label Dec 8, 2025
@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Full Build as this a toolchain package.

@archana25-ms
Copy link
Copy Markdown
Contributor Author

Full Build as this a toolchain package.

Could see failure in building libvirt package. Analysing in progress

@archana25-ms archana25-ms changed the title [MEDIUM] Upgrade: libxslt to 1.1.43 and patch CVE-2025-7424 [MEDIUM] Patch libxslt for CVE-2025-7424 Dec 18, 2025
@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Buddy Build

Copy link
Copy Markdown
Contributor

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

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

Please update the toolchain entries with updated version of this package.

@archana25-ms
Copy link
Copy Markdown
Contributor Author

Please update the toolchain entries with updated version of this package.

Updated

@archana25-ms
Copy link
Copy Markdown
Contributor Author

Build Verification:
image

Patch application verification:
image

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Full Build

@archana25-ms
Copy link
Copy Markdown
Contributor Author

Full Build

Full Build results are having failure in building SPECS_EXTENDED package - pngcrush

Otherwise the full build seems successful

Copy link
Copy Markdown
Contributor

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

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

Both the patches match with respective upstream references and not modification except context different. Buddy build is successful. Full build was failed in first attempt but after re-running it was successful, and logs weren't showing libxslt as an issue. Further there is one extended repo package failure, pngcrush which was failing previously as well and is not related to this package. LGTM.

@kgodara912 kgodara912 merged commit 5ca96e3 into microsoft:main Dec 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

main PR Destined for main Packaging ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants