Skip to content

deps: pin System.Security.Cryptography.Pkcs to patched 10.0.x in ALog library - #79

Merged
Chookees merged 2 commits into
masterfrom
dev/pkcs-10x-pin
Nov 15, 2026
Merged

Chookees merged 2 commits into
masterfrom
dev/pkcs-10x-pin

Conversation

@Chookees

Copy link
Copy Markdown
Owner

Why

The pin from #71 set System.Security.Cryptography.Pkcs to 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 /ALog and /ALog.Extensions.Logging entry ignores System.Security.Cryptography.Pkcs updates of type version-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-transitive lists 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 and eng/test_release_zips.py needed no change; the win-x64 hash matches system.security.cryptography.pkcs/10.0.15. There are no lockfiles.

Open in Web Open in Cursor 

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.
@Chookees
Chookees merged commit 9b62692 into master Nov 15, 2026
12 checks passed
@cursor
cursor Bot deleted the dev/pkcs-10x-pin branch November 15, 2026 11:09
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.

1 participant