From 9ca8281a01195289494ec9cbe86ab551c7e3cc0d Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Wed, 28 Oct 2026 22:13:51 +0000 Subject: [PATCH] chore: patch vulnerable transitive packages Resolves every known-vulnerable package reported by 'dotnet list package --vulnerable --include-transitive'. Enables CentralPackageTransitivePinningEnabled so transitive-only packages can be pinned from Directory.Packages.props, then pins: - System.Security.Cryptography.Pkcs 10.0.7 -> 10.0.14 (GHSA-846f-f764-76mx high, GHSA-2fmv-rv2c-59x7 moderate) - MessagePack 2.5.192 -> 2.5.307 (GHSA-hv8m-jj95-wg3x, GHSA-vh6j-jc39-fggf high, +10 moderate) - OpenTelemetry.Api 1.9.0/1.10.0 -> 1.15.3 (GHSA-g94r-2vxg-569j, GHSA-8785-wc3w-h8q6 moderate) - Newtonsoft.Json 12.0.3 -> 13.0.4 (GHSA-5crp-9r3c-p9vr high, via FluentEmail.Mailgun) Also bumps two direct pins to patched versions: - OpenTelemetry.Exporter.OpenTelemetryProtocol 1.15.0 -> 1.15.3 (GHSA-q834-8qmm-v933 moderate) - Grpc.Tools 2.72.0 -> 2.78.0, the floor Aspire.Hosting.AppHost requires. Enabling transitive pinning surfaced this pre-existing downgrade as a hard NU1109 error. All 8 projects now report zero vulnerable packages. Build: 0 errors, 15 warnings (down from 47). Unit tests: 8/8. --- Directory.Packages.props | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a5ac4c0..f749b36 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,6 +1,8 @@ true + + true 1.5.70 1.5.70 1.5.70 @@ -22,7 +24,9 @@ - + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -66,13 +70,29 @@ - + + + + + + + + + + + +