From 2d82e1af198d51d76566cb779be1d7456d7358d9 Mon Sep 17 00:00:00 2001 From: miniduikboot Date: Sun, 28 Jul 2024 22:30:55 +0200 Subject: [PATCH] Bump System.Text.Json to 8.0.4 Fixes CVE-2024-30105 (High 7.5/10) https://github.com/advisories/GHSA-hh2w-p6rv-4g7w Impostor doesn't use the affected JsonSerializer.DeserializeAsyncEnumerable method as it doesn't accept JSON formatted payloads, but the NU1903 warning is shown on all builds, leading to warning fatigue. --- .../Impostor.Api.Innersloth.Generator.csproj | 2 +- src/Impostor.Api.Innersloth.Generator/packages.lock.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj b/src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj index 33551f4..a042c52 100644 --- a/src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj +++ b/src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Impostor.Api.Innersloth.Generator/packages.lock.json b/src/Impostor.Api.Innersloth.Generator/packages.lock.json index ad66cb1..4dd2e79 100644 --- a/src/Impostor.Api.Innersloth.Generator/packages.lock.json +++ b/src/Impostor.Api.Innersloth.Generator/packages.lock.json @@ -60,9 +60,9 @@ }, "System.Text.Json": { "type": "Direct", - "requested": "[8.0.0, )", - "resolved": "8.0.0", - "contentHash": "OdrZO2WjkiEG6ajEFRABTRCi/wuXQPxeV6g8xvUJqdxMvvuCCEk86zPla8UiIQJz3durtUEbNyY/3lIhS0yZvQ==", + "requested": "[8.0.4, )", + "resolved": "8.0.4", + "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", "dependencies": { "Microsoft.Bcl.AsyncInterfaces": "8.0.0", "System.Buffers": "4.5.1", -- 2.39.5