From d85fadcecd96d086a88ac978c4a49e2f19e32020 Mon Sep 17 00:00:00 2001 From: Timothy Mothra Date: Wed, 29 Jun 2022 11:19:06 -0700 Subject: [PATCH] Update dependencies to remove Newtonsoft.Json. (GHSA-5crp-9r3c-p9vr) (#2615) * testing * remove dependency * changelog * update changelog --- CHANGELOG.md | 5 +++++ .../Microsoft.ApplicationInsights.AspNetCore.csproj | 4 ++-- .../FunctionalTests.WebApi.Tests.csproj | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36f438231..6427bfaeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj b/NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj index cecc1b4db..a62259cd6 100644 --- a/NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj +++ b/NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj @@ -34,7 +34,7 @@ - + @@ -57,7 +57,7 @@ - + diff --git a/NETCORE/test/FunctionalTests.WebApi.Tests/FunctionalTests.WebApi.Tests.csproj b/NETCORE/test/FunctionalTests.WebApi.Tests/FunctionalTests.WebApi.Tests.csproj index 8a2e94742..389302ef8 100644 --- a/NETCORE/test/FunctionalTests.WebApi.Tests/FunctionalTests.WebApi.Tests.csproj +++ b/NETCORE/test/FunctionalTests.WebApi.Tests/FunctionalTests.WebApi.Tests.csproj @@ -26,7 +26,6 @@ -