Skip to content

[release/10.0.2xx] Suppress NuGet audit CVEs in VMR tooling projects - #6198

Merged
wtgodbe merged 1 commit into
release/10.0.2xxfrom
fix/nu1903-audit-suppress
Apr 22, 2026
Merged

wtgodbe merged 1 commit into
release/10.0.2xxfrom
fix/nu1903-audit-suppress

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Apr 22, 2026

Copy link
Copy Markdown
Member

Summary

Fixes NU1903/NU1901 build failures on release/10.0.2xx internal builds that have been blocking all cross-compilation container legs since ~April 16.

Changes

  1. Removes the non-working unconditional <NuGetAudit>false</NuGetAudit> from Directory.Build.props (added in ea3d1d5 on April 17 as an unsuccessful fix attempt).

  2. Adds NuGetAuditSuppress entries in eng/tools/Directory.Build.props for the three specific CVEs affecting VMR tooling projects:

Why suppression instead of upgrading

All available versions of Microsoft.Build.Tasks.Core (including the latest 18.4.0) depend on vulnerable versions of System.Security.Cryptography.Xml — no upstream patched version exists yet. The affected projects are compile-only VMR build tooling (IncludeAssets="compile") that does not ship to customers.

Affected builds

Example failing build: 2956836 (release/10.0.2xx, 117 NU1903 errors across container legs).

Remove the non-working unconditional NuGetAudit=false added in ea3d1d5,
and instead suppress the three specific CVEs affecting eng/tools/ projects:
- GHSA-37gx-xxp4-5rgx (System.Security.Cryptography.Xml)
- GHSA-w3x6-4m5h-cxqf (System.Security.Cryptography.Xml)
- GHSA-g4vj-cjjj-v7hg (NuGet.Packaging)

These are transitive dependencies of Microsoft.Build.Tasks.Core 17.12.50,
which has no upstream version with patched Cryptography.Xml yet. The affected
projects are compile-only VMR tooling that does not ship to customers.

Co-authored-by: Copilot <[email protected]>
@wtgodbe
wtgodbe requested review from a team as code owners April 22, 2026 16:48
@wtgodbe
wtgodbe enabled auto-merge (squash) April 22, 2026 19:55
@wtgodbe
wtgodbe merged commit a97520c into release/10.0.2xx Apr 22, 2026
8 checks passed
@wtgodbe
wtgodbe deleted the fix/nu1903-audit-suppress branch April 22, 2026 20:07
@wtgodbe

wtgodbe commented Apr 24, 2026

Copy link
Copy Markdown
Member Author

/backport to release/10.0.3xx

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/10.0.3xx (link to workflow run)

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