CVE-2017-0248 Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore.Mvc.Core

High 7.5 Published Updated

Attackers can bypass Enhanced Security Usage taggings in Microsoft .NET Framework by presenting invalid certificates, undermining security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-0248?

CVE-2017-0248 is a high-severity vulnerability in Microsoft .Net Framework, published on 12 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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."

Weakness: CWE-295

Which versions are affected by CVE-2017-0248?

40 open source packages ship an affected version, including Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.Mvc.Abstractions and Microsoft.AspNetCore.Mvc.ApiExplorer. It affects 1 product.

PackageAffectedFixed in
Microsoft.AspNetCore.Mvc NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Abstractions NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Abstractions NuGetFrom 1.0.01.0.4
34 more packages
Microsoft.AspNetCore.Mvc.Abstractions NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Abstractions NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.ApiExplorer NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.ApiExplorer NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.ApiExplorer NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.ApiExplorer NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Core NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Core NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Core NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Core NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Cors NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Cors NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Cors NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Cors NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.DataAnnotations NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.DataAnnotations NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.DataAnnotations NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.DataAnnotations NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Formatters.Json NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Formatters.Json NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Formatters.Json NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Formatters.Json NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Localization NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Localization NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Localization NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Localization NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Razor NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Razor NuGetFrom 1.0.01.0.4
Microsoft.AspNetCore.Mvc.Razor NuGetFrom 1.1.01.1.3
Microsoft.AspNetCore.Mvc.Razor NuGetFrom 1.1.01.1.3

Products include Microsoft .Net Framework.

How do I fix CVE-2017-0248?

Upgrade Microsoft.AspNetCore.Mvc to a fixed version for your release line: 1.0.4 or 1.1.3.

Is CVE-2017-0248 being exploited?

There is no known exploitation of CVE-2017-0248 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Microsoft .Net Framework vulnerabilities

Sources

Also known as ECHO-a934-0cf3-abf5, GHSA-ch6p-4jcm-h8vh.

Is CVE-2017-0248 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free