-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE-2023-29331 - System.ServiceModel.Primitives6.2.0 - upgrade - System.Security.Cryptography.Xml6.0.1 to System.Security.Cryptography.Xml 8.0.1 #5611
Comments
We don't have a direct dependency on Pkcs so it wouldn't be appropriate for us to add an artificial dependency raising the version higher to satisfy security tooling that is running against an app that's consuming our package. The System.Security.Cryptography.Xml package hasn't released a new version with an updated dependency because any security vulnerabilities in Pkcs (or Asn1 which Pkcs refernces and has vulnerably versions) aren't being hit by code in System.Security.Cryptography.Xml. We are referencing the latest 6.x version of System.Security.Cryptography.Xml so there isn't a later version for us to reference. Referencing 8.x package versions from a package intended to be used on .NET 6 has a tendency to break builds. For example, if an app is directly referencing an earlier version of the same package, you will get a build error about having downgraded the dependency. Basically there's no real security risk due to any vulnerable code not being executed. If a newer version of System.Security.Cryptography.Xml is released, we would probably need to release a new version of our packages. There's a recent blog post describing options on how to resolve this in your own application. My crib notes version is for now use central package management with transitive pinning. |
@mconnew just my thoughs on the issue here
As a consumer I want to be able to add a reference to |
This is exactly the way .NET 6/7/8 are released. This seems to be a strong indicator to go exactly that route. |
Agree. The latest version of System.Security.Cryptography.Xml (8.0.2 at the time of this writing) supports .NET6 + so it would make senes to use that depedency for all currently supported nuget versions/target frameworks, (it would have made senes to update even the older 6.0 + releases if it ware not for the fact that .NET 6 will soon reach end of life) |
Describe the bug
CVE-2023-29331 is related to System.ServiceModel.Primitives6.2.0 in the following manner
nuget: System.ServiceModel.Primitives/6.2.0
refers - nuget: System.Security.Cryptography.Xml/6.0.1
refers - nuget: System.Security.Cryptography.Pkcs/6.0.1
dotnet/announcements#257
CVE-2023-29331 - refers - nuget: System.Security.Cryptography.Pkcs/6.0.1
upgrade - System.Security.Cryptography.Xml6.0.1 to System.Security.Cryptography.Xml 8.0.1
The text was updated successfully, but these errors were encountered: