Update dependencies to remove Newtonsoft.Json. (GHSA-5crp-9r3c-p9vr) (#2615)

* testing

* remove dependency

* changelog

* update changelog
This commit is contained in:
Timothy Mothra 2022-06-29 11:19:06 -07:00 коммит произвёл GitHub
Родитель 9c76e4aad4
Коммит d85fadcecd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -1,6 +1,11 @@
# Changelog
## VNext
- Address vulnerability in `Newtonsoft.Json` ([GHSA-5crp-9r3c-p9vr](https://github.com/advisories/GHSA-5crp-9r3c-p9vr)).
Mitigation is to upgrade dependencies in `Microsoft.ApplicationInsights.AspNetCore` ([#2615](https://github.com/microsoft/ApplicationInsights-dotnet/pull/2615))
- Upgrade `Microsoft.Extensions.Configuration.Json` from v2.1.0 to v3.1.0.
- Upgrade `System.Text.Encodings.Web` from 4.5.1 to 4.7.2.
## Version 2.21.0-beta2
- [LOGGING: Make TelemetryConfiguration configurable in ApplicationInsightsLoggingBuilderExtensions](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1944)

Просмотреть файл

@ -34,7 +34,7 @@
<ProjectReference Include="..\..\..\LOGGING\src\ILogger\ILogger.csproj" />
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.0" />
</ItemGroup>
<ItemGroup>
@ -57,7 +57,7 @@
<!--
We must take a temporary dependency on this newer version until Microsoft.AspNetCore.Hosting updates their dependencies.
-->
<PackageReference Include="System.Text.Encodings.Web" Version="4.5.1" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.7.2" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -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" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />