CVE-2017-0248 — Microsoft.AspNetCore.Mvc
CVE-2017-0248 is a CWE-295 vulnerability in Microsoft.AspNetCore.Mvc. A fix is available for Microsoft.AspNetCore.Mvc — see the affected versions and patch details below.
Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore.Mvc.Core
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
Microsoft.AspNetCore.Mvc.NETMicrosoft.AspNetCore.Mvc.NETMicrosoft.AspNetCore.Mvc.Core.NETMicrosoft.AspNetCore.Mvc.Core.NETSystem.Net.Http.NETSystem.Net.Http.NETSystem.Text.Encodings.Web.NETSystem.Text.Encodings.Web+30 moreReal-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
Microsoft .NET Framework 2.0, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2 and 4.7 allow an attacker to bypass Enhanced Security Usage taggings when they present a certificate that is invalid for a specific use, aka ".NET Security Feature Bypass Vulnerability."
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Microsoft.AspNetCore.Mvc | ≥ 1.0.0&&< 1.0.4 | 1.0.4dotnet add package Microsoft.AspNetCore.Mvc --version 1.0.4 |
| .NETNuGet | Microsoft.AspNetCore.Mvc | ≥ 1.1.0&&< 1.1.3 | 1.1.3dotnet add package Microsoft.AspNetCore.Mvc --version 1.1.3 |
| .NETNuGet | Microsoft.AspNetCore.Mvc.Core | ≥ 1.0.0&&< 1.0.4 | 1.0.4dotnet add package Microsoft.AspNetCore.Mvc.Core --version 1.0.4 |
| .NETNuGet | Microsoft.AspNetCore.Mvc.Core | ≥ 1.1.0&&< 1.1.3 | 1.1.3dotnet add package Microsoft.AspNetCore.Mvc.Core --version 1.1.3 |
| .NETNuGet | System.Net.Http | ≥ 4.1.1&&< 4.1.2 | 4.1.2dotnet add package System.Net.Http --version 4.1.2 |
| .NETNuGet | System.Net.Http | ≥ 4.3.1&&< 4.3.2 | 4.3.2dotnet add package System.Net.Http --version 4.3.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.AspNetCore.Mvc, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Microsoft.AspNetCore.Mvc to 1.0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-0248 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2017-0248 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2017-0248. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2017-0248 in your dependencies?
O3 Security finds CVE-2017-0248 across NuGet dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.