-
Notifications
You must be signed in to change notification settings - Fork 287
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
Update dependencies to remove Newtonsoft.Json. (GHSA-5crp-9r3c-p9vr) #2615
Conversation
@@ -26,7 +26,6 @@ | |||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.1" /> | |||
<PackageReference Include="Microsoft.AspNetCore.Mvc.WebApiCompatShim" Version="2.1.1" /> | |||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
separately, these tests still use 2.. It should be bumped to 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is out of scope for this PR. I'll make a note to review all of these when we start assessing .NET 7
#2468
Newtonsoft.Json
has a security vulnerability that affects all versions < 13.0.1.This is an implicit dependency in the Microsoft.ApplicationInsights.AspNetCore SDK.
Changes
Microsoft.Extensions.Configuration.Json
from v2.1.0 to v3.1.0.Microsoft.Extensions.Configuration.Json
removed its dependency onNewtonsoft.Json
in v3.0.0. v3.0.0 is no longer supported, next lowest supported version is v3.1.0.System.Text.Encodings.Web
from 4.5.1 to 4.7.2.Upgrading
Microsoft.Extensions.Configuration.Json
has a side effect of implicitly upgrading our dependency onSystem.Text.Encodings.Web
from v4.5.1 to v4.7.0. Unfortunately, v4.7.0 also has a security vulnerability. Next lowest supported version is v4.7.2.