Skip to content

Commit a396ad7

Browse files
committed
fix vulnerability of System.Text.Json
1 parent f3a6089 commit a396ad7

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

cybersource-rest-client-dotnet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ OpenAPI spec version: 0.0.1
7070
<HintPath>packages\System.Text.Encodings.Web.8.0.0\lib\netstandard2.0\System.Text.Encodings.Web.dll</HintPath>
7171
</Reference>
7272
<Reference Include="System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
73-
<HintPath>packages\System.Text.Json.8.0.4\lib\netstandard2.0\System.Text.Json.dll</HintPath>
73+
<HintPath>packages\System.Text.Json.8.0.5\lib\netstandard2.0\System.Text.Json.dll</HintPath>
7474
</Reference>
7575
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
7676
<HintPath>packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>

packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net461" />
1111
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net461" />
1212
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net461" />
13-
<package id="System.Text.Json" version="8.0.4" targetFramework="net461" />
13+
<package id="System.Text.Json" version="8.0.5" targetFramework="net461" />
1414
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net461" />
1515
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
1616
</packages>

test/cybersource-rest-client-dotnet.Test.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ OpenAPI spec version: 0.0.1
3737
<WarningLevel>4</WarningLevel>
3838
</PropertyGroup>
3939
<ItemGroup>
40-
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
41-
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
40+
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
41+
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
4242
</Reference>
4343
<Reference Include="RestSharp, Version=112.1.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
4444
<HintPath>..\packages\RestSharp.112.1.0\lib\netstandard2.0\RestSharp.dll</HintPath>
@@ -49,20 +49,20 @@ OpenAPI spec version: 0.0.1
4949
</Reference>
5050
<Reference Include="System.Core" />
5151
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
52-
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
52+
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
5353
</Reference>
5454
<Reference Include="System.Numerics" />
5555
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
5656
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
5757
</Reference>
58-
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
59-
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
58+
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
59+
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
6060
</Reference>
61-
<Reference Include="System.Text.Encodings.Web, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
62-
<HintPath>..\packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll</HintPath>
61+
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
62+
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net461\System.Text.Encodings.Web.dll</HintPath>
6363
</Reference>
64-
<Reference Include="System.Text.Json, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
65-
<HintPath>..\packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll</HintPath>
64+
<Reference Include="System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
65+
<HintPath>..\packages\System.Text.Json.8.0.5\lib\net461\System.Text.Json.dll</HintPath>
6666
</Reference>
6767
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
6868
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>

test/packages.config

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net461" />
3+
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net461" />
44
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net45" developmentDependency="true" />
55
<package id="NLog" version="5.0.0" targetFramework="net461" />
66
<package id="NUnit" version="2.6.4" targetFramework="net45" />
77
<package id="RestSharp" version="112.1.0" targetFramework="net461" developmentDependency="true" />
88
<package id="System.Buffers" version="4.5.1" targetFramework="net461" />
9-
<package id="System.Memory" version="4.5.4" targetFramework="net461" />
9+
<package id="System.Memory" version="4.5.5" targetFramework="net461" />
1010
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net461" />
11-
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net461" />
12-
<package id="System.Text.Encodings.Web" version="5.0.1" targetFramework="net461" />
13-
<package id="System.Text.Json" version="5.0.1" targetFramework="net461" />
11+
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net461" />
12+
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net461" />
13+
<package id="System.Text.Json" version="8.0.5" targetFramework="net461" />
1414
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net461" />
1515
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
1616
</packages>

0 commit comments

Comments
 (0)