From 5db390f6b780b396b3e72897ced95219b7efabe3 Mon Sep 17 00:00:00 2001 From: Yuriy Syrota Date: Sun, 13 Oct 2024 14:25:55 +0300 Subject: [PATCH] Updated System.Text.Json to address CVE-2024-43485 --- duo_api_csharp/app.config | 11 +++++++++++ duo_api_csharp/duo_api_csharp.csproj | 14 ++++---------- duo_api_csharp/packages.config | 2 +- examples/App.config | 10 +++++++++- test/DuoApiTest.csproj | 6 ++---- test/packages.config | 2 +- 6 files changed, 28 insertions(+), 17 deletions(-) create mode 100644 duo_api_csharp/app.config diff --git a/duo_api_csharp/app.config b/duo_api_csharp/app.config new file mode 100644 index 0000000..1696df6 --- /dev/null +++ b/duo_api_csharp/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/duo_api_csharp/duo_api_csharp.csproj b/duo_api_csharp/duo_api_csharp.csproj index 1f30135..07c4d1d 100644 --- a/duo_api_csharp/duo_api_csharp.csproj +++ b/duo_api_csharp/duo_api_csharp.csproj @@ -58,8 +58,8 @@ ..\packages\System.Text.Encodings.Web.6.0.0\lib\net461\System.Text.Encodings.Web.dll - - ..\packages\System.Text.Json.6.0.2\lib\net461\System.Text.Json.dll + + ..\packages\System.Text.Json.6.0.10\lib\net461\System.Text.Json.dll ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll @@ -82,17 +82,11 @@ + - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + \ No newline at end of file diff --git a/duo_api_csharp/packages.config b/duo_api_csharp/packages.config index 4b44fc2..246c074 100644 --- a/duo_api_csharp/packages.config +++ b/duo_api_csharp/packages.config @@ -6,7 +6,7 @@ - + \ No newline at end of file diff --git a/examples/App.config b/examples/App.config index 193aecc..91126fc 100644 --- a/examples/App.config +++ b/examples/App.config @@ -1,6 +1,14 @@ - + + + + + + + + + \ No newline at end of file diff --git a/test/DuoApiTest.csproj b/test/DuoApiTest.csproj index 9aaa12f..f6bcc1f 100644 --- a/test/DuoApiTest.csproj +++ b/test/DuoApiTest.csproj @@ -57,8 +57,8 @@ ..\packages\System.Text.Encodings.Web.6.0.0\lib\net461\System.Text.Encodings.Web.dll - - ..\packages\System.Text.Json.6.0.2\lib\net461\System.Text.Json.dll + + ..\packages\System.Text.Json.6.0.10\lib\net461\System.Text.Json.dll ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll @@ -110,11 +110,9 @@ - -