CVE-2019-1075 — Microsoft.AspNetCore.App
MEDIUMCVE-2019-1075 is a medium-severity (CVSS 6.1) Open Redirect vulnerability in Microsoft.AspNetCore.App. A fix is available for Microsoft.AspNetCore.App — see the affected versions and patch details below.
Open redirect in ASP.NET Core
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.App.NETMicrosoft.AspNetCore.App.NETMicrosoft.AspNetCore.All.NETMicrosoft.AspNetCore.All.NETMicrosoft.AspNetCore.Server.IIS.NETMicrosoft.AspNetCore.Server.HttpSys.NETMicrosoft.AspNetCore.Server.HttpSysReal-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 spoofing vulnerability exists in ASP.NET Core that could lead to an open redirect, aka 'ASP.NET Core Spoofing Vulnerability'.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Microsoft.AspNetCore.App | ≥ 2.2.0&&< 2.2.6 | 2.2.6dotnet add package Microsoft.AspNetCore.App --version 2.2.6 |
| .NETNuGet | Microsoft.AspNetCore.App | ≥ 2.1.0&&< 2.1.12 | 2.1.12dotnet add package Microsoft.AspNetCore.App --version 2.1.12 |
| .NETNuGet | Microsoft.AspNetCore.All | ≥ 2.2.0&&< 2.2.6 | 2.2.6dotnet add package Microsoft.AspNetCore.All --version 2.2.6 |
| .NETNuGet | Microsoft.AspNetCore.All | ≥ 2.1.0&&< 2.1.12 | 2.1.12dotnet add package Microsoft.AspNetCore.All --version 2.1.12 |
| .NETNuGet | Microsoft.AspNetCore.Server.IIS | ≥ 2.2.0&&< 2.2.6 | 2.2.6dotnet add package Microsoft.AspNetCore.Server.IIS --version 2.2.6 |
| .NETNuGet | Microsoft.AspNetCore.Server.HttpSys | ≥ 2.2.0&&< 2.2.6 | 2.2.6dotnet add package Microsoft.AspNetCore.Server.HttpSys --version 2.2.6 |
Affected Products
asp.net coremicrosoftDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.AspNetCore.App, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Microsoft.AspNetCore.App to 2.2.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-1075 is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
Frequently Asked Questions
Is CVE-2019-1075 in your dependencies?
Find it across NuGet, including transitive dependencies.