patchminder
Proof of concept · GitHub CVE-2017-0248

Security feature bypassin Microsoft .NET Framework.

Published 12 May 2017 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 5.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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

What to do now
  • Upgrade Microsoft.AspNetCore.Mvc (NuGet) to 1.0.4, 1.1.3 or later, whichever matches your release line.
  • Upgrade Microsoft.AspNetCore.Mvc.Core (NuGet) to 1.0.4, 1.1.3 or later, whichever matches your release line.
  • Upgrade System.Net.Http (NuGet) to 4.1.2, 4.3.2 or later, whichever matches your release line.
  • Upgrade System.Text.Encodings.Web (NuGet) to 4.0.1, 4.3.1 or later, whichever matches your release line.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Microsoft .NET Framework
Not confirmed
Not confirmed
CVE record
Microsoft.AspNetCore.Mvc (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory
Microsoft.AspNetCore.Mvc.Core (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc.Core (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory
System.Net.Http (NuGet)
4.1.1 to before 4.1.2
4.1.2
GitHub advisory
System.Net.Http (NuGet)
4.3.1 to before 4.3.2
4.3.2
GitHub advisory
System.Text.Encodings.Web (NuGet)
4.0.0 to before 4.0.1
4.0.1
GitHub advisory
System.Text.Encodings.Web (NuGet)
4.3.0 to before 4.3.1
4.3.1
GitHub advisory
System.Net.Http.WinHttpHandler (NuGet)
4.0.0 to before 4.0.1
4.0.1
GitHub advisory
System.Net.Http.WinHttpHandler (NuGet)
4.3.0 to before 4.3.1
4.3.1
GitHub advisory
System.Net.Security (NuGet)
4.0.0 to before 4.0.1
4.0.1
GitHub advisory
System.Net.Security (NuGet)
4.3.0 to before 4.3.1
4.3.1
GitHub advisory
System.Net.WebSockets.Client (NuGet)
4.0.0 to before 4.0.1
4.0.1
GitHub advisory
System.Net.WebSockets.Client (NuGet)
4.3.0 to before 4.3.1
4.3.1
GitHub advisory
Microsoft.AspNetCore.Mvc.Abstractions (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc.Abstractions (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory
Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory
Microsoft.AspNetCore.Mvc.Cors (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc.Cors (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory
Microsoft.AspNetCore.Mvc.DataAnnotations (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc.DataAnnotations (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory
Microsoft.AspNetCore.Mvc.Formatters.Json (NuGet)
1.0.0 to before 1.0.4
1.0.4
GitHub advisory
Microsoft.AspNetCore.Mvc.Formatters.Json (NuGet)
1.1.0 to before 1.1.3
1.1.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 9 Sep 2016
    CVE ID reserved by microsoft.
  2. 12 May 2017
    Published in the CVE List.
  3. 29 Jan 2019
    First public proof of concept on GitHub.
  4. 5 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundrubenmamo/CVE-2017-0248-Test0 stars · created 29 Jan 2019Sample project to test using Microsoft.CodeDom.Providers.DotNetCompilerPlatform 2.0.1 causing CVE-2017-0248

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other .NET Framework vulnerabilities

References
Cite this page

Patchminder. CVE-2017-0248: Security feature bypass in Microsoft .NET Framework. https://patchminder.com/cve/cve-2017-0248/ (accessed 5 December 2026).