Privilege Escalation Affecting microsoft.aspnetcore.mvc.dataannotations package, versions [,1.0.1)
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-MICROSOFTASPNETCOREMVCDATAANNOTATIONS-60029
- published 13 Sep 2016
- disclosed 13 Sep 2016
- credit Unknown
How to fix?
Upgrade Microsoft.AspNetCore.Mvc.DataAnnotations
to version 1.0.1 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 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.