Skip to content

Commit

Permalink
Resolving vulnerable transitive dependencies (#389)
Browse files Browse the repository at this point in the history
Overriding versions of transitive dependencies that were flagged as
vulnerable on nuget.org.

Internal ADO work item:
https://dev.azure.com/msazure/One/_workitems/edit/29603592
  • Loading branch information
plave0 authored Oct 2, 2024
1 parent 92d10d9 commit 6ef7044
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
<PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Server.HttpSys" Version="2.2.6" />
</ItemGroup>
<ItemGroup>
<!-- Overriding versions of transitive dependencies -->
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="4.7.1" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.5.1" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Web" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,11 @@
<ProjectReference Include="..\Microsoft.ServiceFabric.Services.Remoting\Microsoft.ServiceFabric.Services.Remoting_netstandard.csproj" />
<ProjectReference Include="..\Microsoft.ServiceFabric.Services\Microsoft.ServiceFabric.Services_netstandard.csproj" />
</ItemGroup>
<ItemGroup>
<!-- Overriding versions of transitive dependencies -->
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="4.7.1" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.5.1" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
<ProjectReference Include="$(RepoRoot)src\netstandard\Microsoft.ServiceFabric.Actors.KVSToRCMigration\Microsoft.ServiceFabric.Actors.KVSToRCMigration_netstandard.csproj" />
<ProjectReference Include="$(RepoRoot)src\netstandard\Microsoft.ServiceFabric.Services\Microsoft.ServiceFabric.Services_netstandard.csproj" />
</ItemGroup>
<ItemGroup>
<!-- Overriding versions of transitive dependencies -->
<PackageReference Include="System.Drawing.Common" Version="4.7.2" />
</ItemGroup>
</Project>

0 comments on commit 6ef7044

Please sign in to comment.