Skip to content

System.Text.Json version 8.0.4 transitive reference issue via Serilog.AspNetCore 8.0.2 - CVE-2024-43485 #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tvbishan opened this issue Oct 10, 2024 · 1 comment · Fixed by #383
Labels

Comments

@tvbishan
Copy link

tvbishan commented Oct 10, 2024

Description
I encountered an issue with a transitive reference to System.Text.Json version 8.0.4 when using Serilog.AspNetCore version 8.0.2. The package reference is shown as a warning in the NuGet package manager (screenshot attached).

Reproduction

  1. Add Serilog.AspNetCore version 8.0.2 to the project.
  2. Observe the transitive dependency on System.Text.Json 8.0.4 in the package manager.

Expected behavior
Either no warning or an explanation of how this transitive dependency is safe to use.

Relevant package, tooling and runtime versions

  • Serilog.AspNetCore: 8.0.2
  • Target Framework: .NET Core 6, .NET Core 8
  • System.Text.Json: Transitive version 8.0.4

image
image

@tvbishan tvbishan added the bug label Oct 10, 2024
@Numpsy
Copy link
Member

Numpsy commented Oct 10, 2024

Serilog.Settings.Configuration has been updated to a new version of Microsoft.Extensions.DependencyModel to avoid this issue, but the dependency here hasn't been updated yet - you can update to the newer version of one of those in your own app to fix the issue prior to that happening though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants