CleanArchitecture icon indicating copy to clipboard operation
CleanArchitecture copied to clipboard

Azure.Identity 1.10.4 moderate severity vulnerability

Open Wosiu6 opened this issue 10 months ago • 5 comments

Describtion When installing the new version an Azure.Identity 1.10.4 moderate severity vulnerability is preventing you from running it. When trying to update that library to the latest, the application throws an NSwag error.

To Reproduce Steps to reproduce the behaviour:

  1. dotnet new install Clean.Architecture.Solution.Template::8.0.5
  2. dotnet new ca-sln --client-framework Angular --output test (or React one)
  3. cd test/src/Web -> dotnet run
  4. see error

if you disable warnings as errors you get another error, see attached log.txt

-- Alternatively --

  1. dotnet new install Clean.Architecture.Solution.Template::8.0.5
  2. dotnet new ca-sln --client-framework Angular --output test (or React one)
  3. update the Azure.Identity 1.10.4 to the latest
  4. try to run again
  5. see error

Expected behaviour The code to either support the latest version with no vulnerability or clarification on if the warning as error should be bypassed despite the vulnerability

Wosiu6 avatar Apr 23 '24 19:04 Wosiu6

Change version of Azure.Identity in Directory.Packages.props file from 1.10.4 to 1.11.0 solve this problem More information in GitHub Advisory Database

betty2310 avatar May 03 '24 04:05 betty2310

Change version of Azure.Identity in Directory.Packages.props file from 1.10.4 to 1.11.0 solve this problem More information in GitHub Advisory Database

That did not work and I still get the same error as seen in the log file I uploaded

Wosiu6 avatar May 03 '24 17:05 Wosiu6

The answer @betty2310 provided worked perfectly, thanks!

furritos avatar May 22 '24 18:05 furritos

In VS 2022 nuget manager, this showed the issue/error/vulnerability, I was able to update the package to the latest 1.11.3 and it works fine for me.

Tip: You can click on "Show only vulnerable" and this package should show.

JasonFoglia avatar May 23 '24 23:05 JasonFoglia

Trick is to update the Azure.Identity package to the latest version

HSPiira avatar Aug 07 '24 21:08 HSPiira