Repository navigation
chore: the test and spike projects restore a patched System.Security.Cryptography.Pkcs - #68
Merged
Merged
Conversation
…Cryptography.Pkcs Microsoft.EntityFrameworkCore.SqlServer rc.3 brings Microsoft.Data.SqlClient 7.1.0, which asks for Pkcs 9.0.18, a version with a high and a moderate advisory (fixed in 9.0.21). The four projects that reference the SQL Server provider pin 9.0.23 until the provider's own dependency is patched. Nothing that ships referenced the package. Closes #67 Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Closes #67
Problem
Every build of the test project warned
NU1903andNU1902:System.Security.Cryptography.Pkcs9.0.18 has a high (GHSA-846f-f764-76mx) and a moderate (GHSA-2fmv-rv2c-59x7) advisory. It arrives throughMicrosoft.EntityFrameworkCore.SqlServerrc.3 andMicrosoft.Data.SqlClient7.1.0. Nothing that ships references it.Change
The four projects that reference the SQL Server provider pin
System.Security.Cryptography.Pkcs9.0.23, each with a comment naming the advisories, the dependency path and when the line can go:test/CodoMetis.EFCore.SchemaKit.Testsspikes/A.DecoratorOwnershipspikes/E.ImpactTablespikes/B.DesignTime/consumer, under the same condition as its SQL Server referenceBoth advisories are fixed in 9.0.21 for the 9.0 line; 9.0.23 is that line's newest patch. Moving
Microsoft.Data.SqlClientinstead does not help: 7.1.1, its newest stable version, still asks for 9.0.18.WarningsNotAsErrorsforNU1901toNU1904stays as it is: whether a build passes should not depend on an advisory published upstream.Tests
On SDK 11.0.100 in the checkout:
NU1902andNU1903.dotnet nuget whyresolves the package to 9.0.23.Spike B's SQL Server consumer is built by
run.sh, which CI runs.The SQL Server package (#29) will reference the provider itself. If the provider's dependency has not moved by then, the pin has to go into that package, where it reaches consumers; #67's note on that carries over to #29.
🤖 Generated with Claude Code