Privilege Escalation Affecting microsoft.aspnetcore.mvc.webapicompatshim package, versions [,1.0.1)


0.0
high

Snyk CVSS

    Attack Complexity Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DOTNET-MICROSOFTASPNETCOREMVCWEBAPICOMPATSHIM-60021
  • published 13 Sep 2016
  • disclosed 13 Sep 2016
  • credit Unknown

How to fix?

Upgrade Microsoft.AspNetCore.Mvc.WebApiCompatShim to version 1.0.1 or higher.

Overview

Microsoft.AspNetCore.Mvc.WebApiCompatShim provides compatibility in ASP.NET Core MVC with ASP.NET Web API 2 to simplify migration of existing Web API implementations.

Affected versions of this package are vulnerable to Privilege Escalation. View Components could receive incorrect information, including the details of the current authenticated user. If a View Component depends on the vulnerable code and makes decisions based on the current user, then the it could make incorrect decisions that result in elevation of privilege.