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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Privilege Escalation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MICROSOFTASPNETCOREMVCWEBAPICOMPATSHIM-60021
  • published13 Sept 2016
  • disclosed13 Sept 2016
  • creditUnknown

Introduced: 13 Sep 2016

CVE NOT AVAILABLE CWE-269  (opens in a new tab)

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.

CVSS Scores

version 3.1