-
Notifications
You must be signed in to change notification settings - Fork 266
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
Denial of service vulnerability in old version of castle core #673
Comments
It seems castle core 4.4.1 also has this vulnerability Castle.Core@4.4.1 |
This issue is related to castleproject/Core#602 |
Because I couldn't find any fix to this I released my own version of NSubstitute and Castle.Core to nuget which target only .NET 5 and .NET 6 code. |
Unfortunately it does not, because it comes from castle.core and they are not making a new relese... I wonder how much it would take to change it to some alternative? |
Blocked by: castleproject/Core#613 |
What about including the updated NuGet packages for the vulnerable libraries? These would override the versions included with |
Castle core 5 has been released: https://github.com/castleproject/Core/releases/tag/v5.0.0 |
Describe the bug
Old version of castle core has vulnerable component. This seems to be fixed in the latest version.
✗ Regular Expression Denial of Service (ReDoS) [High Severity][https://snyk.io/vuln/SNYK-DOTNET-SYSTEMTEXTREGULAREXPRESSIONS-174708] in System.Text.RegularExpressions@4.3.0
introduced by NSubstitute@4.2.2 > Castle.Core@4.4.0 > System.Xml.XmlDocument@4.3.0 > System.Xml.ReaderWriter@4.3.0 > System.Text.RegularExpressions@4.3.0
This issue was fixed in versions: 4.3.1
The text was updated successfully, but these errors were encountered: