CVE-2018-8171 — Microsoft.AspNetCore.Iden…
HIGHCVE-2018-8171 is a high-severity (CVSS 7.5) Improper Authentication vulnerability in Microsoft.AspNetCore.Identity. EPSS puts its 30-day exploitation probability at 10.8% (96th percentile). A fix is available for Microsoft.AspNetCore.Identity — see the affected versions and patch details below.
Security feature bypass vulnerability exists in ASP.NET when the number of incorrect login attempts is not validated
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
Microsoft.AspNetCore.Identity.NETMicrosoft.AspNetCore.Identity.NETMicrosoft.AspNetCore.Identity.NETMicrosoft.AspNetCore.IdentityReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.
Description
A Security Feature Bypass vulnerability exists in ASP.NET when the number of incorrect login attempts is not validated, aka "ASP.NET Security Feature Bypass Vulnerability." This affects ASP.NET, ASP.NET Core 1.1, ASP.NET Core 1.0, ASP.NET Core 2.0, ASP.NET MVC 5.2.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Microsoft.AspNetCore.Identity | ≥ 1.0.0&&< 1.0.6 | 1.0.6dotnet add package Microsoft.AspNetCore.Identity --version 1.0.6 |
| .NETNuGet | Microsoft.AspNetCore.Identity | ≥ 1.1.0&&< 1.1.6 | 1.1.6dotnet add package Microsoft.AspNetCore.Identity --version 1.1.6 |
| .NETNuGet | Microsoft.AspNetCore.Identity | ≥ 2.0.0&&< 2.0.4 | 2.0.4dotnet add package Microsoft.AspNetCore.Identity --version 2.0.4 |
| .NETNuGet | Microsoft.AspNetCore.Identity | ≥ 2.1.0&&< 2.1.2 | 2.1.2dotnet add package Microsoft.AspNetCore.Identity --version 2.1.2 |
Affected Products
asp.net coremicrosoftasp.net model view controllermicrosoftasp.net webpagesmicrosoftDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.AspNetCore.Identity, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Microsoft.AspNetCore.Identity to 1.0.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-8171 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2018-8171 in your dependencies?
Find it across NuGet, including transitive dependencies.