]> git.deb.at Git - rhonda/impostor.git/commitdiff
Bump System.Text.Json to 8.0.4
authorminiduikboot <mini@duikbo.at>
Sun, 28 Jul 2024 20:30:55 +0000 (22:30 +0200)
committerminiduikboot <mini@duikbo.at>
Mon, 29 Jul 2024 17:59:24 +0000 (19:59 +0200)
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.

src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj
src/Impostor.Api.Innersloth.Generator/packages.lock.json

index 33551f4f42b056215b8ab1c3fc6c4afc8e368e36..a042c52d1a1839a7a786aca7c81f44450a693f08 100644 (file)
@@ -14,7 +14,7 @@
     <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
     <PackageReference Include="PolySharp" Version="1.14.1" PrivateAssets="all" />
 
-    <PackageReference Include="System.Text.Json" Version="8.0.0" PrivateAssets="all" GeneratePathProperty="true" />
+    <PackageReference Include="System.Text.Json" Version="8.0.4" PrivateAssets="all" GeneratePathProperty="true" />
     <PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" PrivateAssets="all" GeneratePathProperty="true" />
     <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" PrivateAssets="all" GeneratePathProperty="true" />
 
index ad66cb17c115f843fa72fe1ecb647f19cd52393c..4dd2e7978f195da0f135215cf2e2150e99d829b1 100644 (file)
@@ -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",