Skip to content

Transitive dependency (System.Text.Json) with vulnerability #4575

@crfrolik

Description

@crfrolik

Automapper v15.0.1 wants Microsoft.IdentityModel.JsonWebTokens v8.0.1
... which wants Microsoft.IdentityModel.Tokens v8.0.1
... which wants System.Text.Json v8.0.4
... which has high severity vulnerability: github.com/advisories/GHSA-8g4q-xg66-9fp4

Two options:

  1. Upgrade to the latest version of Microsoft.IdentityModel.JsonWebTokens, which will pull in System.Text.Json v8.0.5, which does not have the vulnerablity
  2. Add System.Text.Json as a direct dependency at v8.0.5 or later

As a workaround, consumers of AutoMapper can perform option 2 in their own repos.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions