Repository navigation
GHSA-846f-f764-76mx: pin patched System.Security.Cryptography.Pkcs for Weasel.SqlServer and Weasel.Oracle - #710
Merged
Merged
Conversation
…r Weasel.SqlServer and Weasel.Oracle CVE-2026-84008 (high, CVSS 7.5): SignedCms.CheckSignature can reparse attacker-controlled X.509 data quadratically. Weasel.SqlServer carried the vulnerable package transitively through Microsoft.Data.SqlClient 6.1.3 (Pkcs 9.0.4), and Weasel.Oracle through Oracle.ManagedDataAccess.Core 23.7.0 (Pkcs 8.0.0). Upgrading SqlClient would not fix it: 7.1.1 still pins 9.0.18. Both projects now reference Pkcs directly, at 10.0.13 for net10.0 and 9.0.21 for net9.0, so the patched floor is in their published nuspecs. `dotnet list package --vulnerable --include-transitive` is clean across the solution. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 14, 2026
Merged
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.
Summary
GHSA-846f-f764-76mx / CVE-2026-84008 (high, CVSS 7.5) is a quadratic-CPU DoS in
SignedCms.CheckSignaturein System.Security.Cryptography.Pkcs.Two shipped Weasel packages carry a vulnerable version transitively:
Weasel.SqlServerWeasel.OracleUpgrading the driver doesn't fix it: the latest SqlClient release, 7.1.1, still pins 9.0.18.
Change
Directory.Packages.props: one Pkcs version per target framework,10.0.13for net10.0 and9.0.21for net9.0. This follows the existing SQLitePCLRaw override pattern.Weasel.SqlServer.csprojandWeasel.Oracle.csproj: a directPackageReference, so the patched floor goes into both published nuspecs. I checked by packing: both list9.0.21and10.0.13in the matching framework groups.No version bump here. That's left for the release commit.
Verification
dotnet list Weasel.slnx package --vulnerable --include-transitive: before the change, 8 projects flagged Pkcs (High). After it, none do.dotnet build Weasel.slnx -c Releasesucceeds. Tests run in CI.The same fix for Polecat is JasperFx/polecat#767.
🤖 Generated with Claude Code