From a43ba0c4335118cc18e55838f19bff680cb82060 Mon Sep 17 00:00:00 2001 From: Bruno Brito Date: Tue, 17 Nov 2026 18:25:45 -0300 Subject: [PATCH] fix(deps): patch vulnerable crypto packages System.Security.Cryptography.Xml/Pkcs 10.0.12 (pulled by 10.0.0) have high severity advisories. Pin the patched versions per TFM (8.0.5/8.0.2, 9.0.23, 10.0.15) and bump the Microsoft.* packages to the latest patch of each line (8.0.34, 9.0.23, 10.0.15). The PR vulnerability check now ignores only the accepted IdentityServer4 advisory (ADR-002). --- .github/workflows/pull-request.yml | 3 +- Directory.Packages.props | 91 +++++++++++++++--------------- 2 files changed, 49 insertions(+), 45 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 13cba00..2446fe1 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -39,4 +39,5 @@ jobs: - name: Check vulnerable packages run: | dotnet list package --vulnerable --include-transitive 2>&1 | tee vulnerable.txt - ! grep -q "has the following vulnerable packages" vulnerable.txt + # IdentityServer4 is EOL with known advisories and is accepted on purpose (docs/Decisions/ADR-002) + ! grep -E '^\s+>' vulnerable.txt | grep -v ' IdentityServer4 ' diff --git a/Directory.Packages.props b/Directory.Packages.props index 683ed0f..a99f97e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -30,59 +30,62 @@ - - - - - - - - - - - + + + + + + + + + + + - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +