Skip to content

Fix System.Security.Cryptography.Xml source-build pin - #7393

Merged
nkolev92 merged 2 commits into
devfrom
dev-nkolev92-fixSscXmlSourceBuild
May 15, 2026
Merged

nkolev92 merged 2 commits into
devfrom
dev-nkolev92-fixSscXmlSourceBuild

Conversation

@nkolev92

@nkolev92 nkolev92 commented May 14, 2026 •

Copy link
Copy Markdown
Member

Bug

Fixes:

Description

This engineering-only change fixes the System.Security.Cryptography.Xml pin used to mitigate the vulnerable transitive dependency from MSBuild while keeping VMR/source-build overrides working.

  • use SystemSecurityCryptographyXmlPackageVersion directly in Directory.Packages.props
  • update eng/Version.Details.xml to 8.0.3 with the corresponding dotnet/runtime commit
  • avoid relying on a hard-coded central package version or a manual edit to generated dependency props

PR Checklist

  • Meaningful title and helpful description; NuGet/Home issue not required for this engineering-only change
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

Route the central package version through an overrideable property and sync Version.Details metadata to 8.0.3 for VMR/source-build.

Co-authored-by: Copilot <[email protected]>
@nkolev92
nkolev92 requested a review from a team as a code owner May 14, 2026 20:45
@nkolev92
nkolev92 requested review from jebriede and zivkan May 14, 2026 20:45
@nkolev92

nkolev92 commented May 14, 2026 •

Copy link
Copy Markdown
Member Author

This is a better fix for dotnet/dotnet#6621, which has the quick fix which hopefully works.

Use SystemSecurityCryptographyXmlPackageVersion directly in Directory.Packages.props so source-build can override the pin without manually editing the generated eng/Version.Details.props file.

Co-authored-by: Copilot <[email protected]>
@nkolev92
nkolev92 enabled auto-merge (squash) May 14, 2026 22:45
@nkolev92
nkolev92 merged commit b385f8d into dev May 15, 2026
17 of 18 checks passed
@nkolev92
nkolev92 deleted the dev-nkolev92-fixSscXmlSourceBuild branch May 15, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants