Authentication Bypass Affecting microsoft.aspnetcore.mvc.webapicompatshim package, versions [1,1.0.4)[1.1,1.1.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (41st percentile)

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 Authentication Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MICROSOFTASPNETCOREMVCWEBAPICOMPATSHIM-60056
  • published12 May 2017
  • disclosed12 May 2017
  • creditMikhail Shcherbakov

Introduced: 12 May 2017

CVE-2017-0256  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Microsoft.AspNetCore.Mvc.WebApiCompatShim to version 1.0.4, 1.1.3 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 Authentication Bypass attacks. The ASP.NET Core fails to properly sanitize the Web Request Handler component, allowing an attacker to spoof web requests and bypass authentication.

CVSS Scores

version 3.1