Skip to content

Commit

Permalink
Address CVE-2024-30105 by directly consuming System.Text.Json 8.0.4. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrob authored Jul 15, 2024
1 parent eed78b6 commit d8706f2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/EtwHeapDump/EtwHeapDump.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
</Reference>
</ItemGroup>

<!-- Override the version of System.Text.Json that is transitively included to address security issues. -->
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FastSerialization\FastSerialization.csproj" />
<ProjectReference Include="..\MemoryGraph\MemoryGraph.csproj" />
Expand Down
5 changes: 5 additions & 0 deletions src/HeapDump/HeapDump.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
</Reference>
</ItemGroup>

<!-- Override the version of System.Text.Json that is transitively included to address security issues. -->
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FastSerialization\FastSerialization.csproj" />
<ProjectReference Include="..\TraceEvent\TraceEvent.csproj" />
Expand Down
5 changes: 5 additions & 0 deletions src/HeapDumpDLL/HeapDumpDLL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
</Reference>
</ItemGroup>

<!-- Override the version of System.Text.Json that is transitively included to address security issues. -->
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FastSerialization\FastSerialization.csproj" />
<ProjectReference Include="..\MemoryGraph\MemoryGraph.csproj" />
Expand Down
5 changes: 5 additions & 0 deletions src/SymbolsAuth/SymbolsAuth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="$(MicrosoftIdentityModelJsonWebTokensVersion)" />
</ItemGroup>

<!-- Override the version of System.Text.Json that is transitively included to address security issues. -->
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>

<ItemGroup>
<!-- *** SourceLink Support *** -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubVersion)" PrivateAssets="All" />
Expand Down
5 changes: 5 additions & 0 deletions src/TraceEvent/TraceEvent.Tests/TraceEvent.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
</Reference>
</ItemGroup>

<!-- Override the version of System.Text.Json that is transitively included to address security issues. -->
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\PerfView.TestUtilities\PerfView.TestUtilities.csproj" />
<ProjectReference Include="..\TraceEvent.csproj" />
Expand Down

0 comments on commit d8706f2

Please sign in to comment.