Authentication Bypass Affecting microsoft.aspnetcore.mvc.dataannotations 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.11% (46th 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-MICROSOFTASPNETCOREMVCDATAANNOTATIONS-60100
  • 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.DataAnnotations to version 1.0.4, 1.1.3 or higher.

Overview

Microsoft.AspNetCore.Mvc.DataAnnotations is a package for metadata and validation system using System.ComponentModel.DataAnnotations.

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