Repository navigation
Conversation
…y.Pkcs System.Security.Cryptography.Xml/Pkcs 10.0.12 now carry GHSA-846f-f764-76mx, GHSA-7hqp-7c5m-4vq6, GHSA-c399-9853-6jmj, GHSA-r955-8q5j-3h83 and GHSA-2fmv-rv2c-59x7, so NuGetAudit fails restore for every project under TreatWarningsAsErrors. Pkcs also floats in at 9.0.x/10.0.0 via MailKit and the Aspire hosting stack, so pin it transitively alongside Cryptography.Xml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The solution no longer restores on
main. New advisories were published against the 10.0.12 crypto packages. With NuGet audit plusTreatWarningsAsErrors, they surface asNU1902/NU1903and fail every project:Also flagged: GHSA-c399-9853-6jmj and GHSA-r955-8q5j-3h83 (Xml).
Two changes:
10.0.12pin moves to10.0.13: EF Core, ASP.NET Core,Microsoft.Extensions.*, and the existingSystem.Security.Cryptography.Xmlpin. This follows the existing "bump in lockstep with the .NET 10 patch line" note.System.Security.Cryptography.Pkcsgets a transitive pin, next toCryptography.Xml. Bumping the direct references doesn't clear it on its own. It still floats in at9.0.x/10.0.0via MailKit and the Aspire hosting stack, so it needs a pin likeCryptography.Xmlalready has.No source edits were needed.
Verification
🤖 Generated with Claude Code