Repository navigation
deps: pin System.Security.Cryptography.Pkcs to patched 10.0.x in ALog library - #79
Merged
Merged
Conversation
The 11.0.0 pin from #71 raised the minimum for every consumer. SqlClient 7.1.2 asks only for Pkcs 9.0.21, and 10.0.15 is the newest patched 10.0 line that still closes the advisory. Dependabot ignores Pkcs majors for the library directories.
Keep DependencyInjection.Abstractions at 10.0.15 from master and System.Security.Cryptography.Pkcs at 10.0.15 with the 10.0.x pin comment.
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.
Why
The pin from #71 set
System.Security.Cryptography.Pkcsto 11.0.0. A package reference is a minimum, so every consumer of ALog was forced onto Pkcs 11. The security override only needs the newest patched 10.0 line. 10.0.15 is that version: GHSA-846f-f764-76mx and GHSA-2fmv-rv2c-59x7 are fixed from 10.0.13 upward on the 10.0 line. This needs to land before the next release.What
ALog/ALog.csproj: Pkcs 11.0.0 → 10.0.15. The comment states that 10.0.x is the lowest patched line the override needs..github/dependabot.yml: the/ALogand/ALog.Extensions.Loggingentry ignoresSystem.Security.Cryptography.Pkcsupdates of typeversion-update:semver-major. The tests/smoke entry is unchanged.SqlClient 7.1.2 depends on Pkcs 9.0.21 for
net9.0, so 10.0.15 is an upward pin. There was no NU1605.dotnet list package --vulnerable --include-transitivelists neither Pkcs nor SqlClient. Every project in the solution resolves Pkcs 10.0.15.Local: Release build (also with
CI=true) had 0 warnings, tests 508 passed and 4 skipped, consumer smoke file/console/quickstart passed, and the release zips built. The allowlist andeng/test_release_zips.pyneeded no change; the win-x64 hash matchessystem.security.cryptography.pkcs/10.0.15. There are no lockfiles.