Skip to content

Still references potentially vulnerable Microsoft.AspNetCore.Authentication.JwtBearer 5.0.0 package #1532

Closed

Description

Which version of Microsoft Identity Web are you using?
1.20.0

Where is the issue?
Package doesn't support .NET 6 yet and references a vulnerable .NET 5 package, and our build breaks on dependency vulnerability scan.

Repro

<PackageReference Include="Microsoft.Identity.Web" Version="1.20.0" />

or

<PackageReference Include="Microsoft.Identity.Web" Version="1.*" />

Expected behavior
No vulnerable transitive dependencies.

Actual behavior
dotnet list App.sln package --vulnerable --include-transitive

Project `App` has the following vulnerable packages
   [net6.0]: 
   Transitive Package                                   Resolved   Severity   Advisory URL                                     
   > Microsoft.AspNetCore.Authentication.JwtBearer      5.0.0      Moderate   https://github.com/advisories/GHSA-q7cg-43mg-qp69

image

Possible solution
Upgrade all references to .NET 6.

Activity

  1. added this to the 1.21.0 milestone on Nov 20, 2021
  2. jennyf19 commented on Nov 20, 2021

    @jennyf19
    Collaborator

    Included in 1.21.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions