Skip to content

Commit 78b9593

Browse files
[Web PubSub] Add explicit reference to S.T.Encodings.Web to handle CVE-2021-26701 (#25270)
* Add explicit reference to S.T.Encodings.Web to handle CVE-2021-26701 * Add version override in packagereference
1 parent 3126951 commit 78b9593

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdk/webpubsub/Microsoft.Azure.WebPubSub.AspNetCore/src/Microsoft.Azure.WebPubSub.AspNetCore.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<ItemGroup>
1414
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1515
<PackageReference Include="System.Text.Json" />
16+
<PackageReference Include="System.Text.Encodings.Web" VersionOverride="4.7.2"/>
1617
<PackageReference Include="System.Memory.Data" />
1718
</ItemGroup>
1819

sdk/webpubsub/Microsoft.Azure.WebPubSub.Common/src/Microsoft.Azure.WebPubSub.Common.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="System.Text.Json" />
15+
<PackageReference Include="System.Text.Encodings.Web" VersionOverride="4.7.2"/>
1516
<PackageReference Include="System.Memory.Data" />
1617
</ItemGroup>
1718

0 commit comments

Comments
 (0)