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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 5.51% (percentile 94, 2026-11-26)
- **CWE:** CWE-295
- **Aliases:** GHSA-ch6p-4jcm-h8vh
- **Published:** 2017-05-12T14:00:00.000Z
- **Modified:** 2026-06-17T00:57:20.390Z

## Who should check

- Projects that depend on NuGet package Microsoft.AspNetCore.Mvc (\>= 1.0.0, \< 1.0.4)
- Projects that depend on NuGet package Microsoft.AspNetCore.Mvc.Core (\>= 1.0.0, \< 1.0.4)
- Projects that depend on NuGet package System.Net.Http (\>= 4.1.1, \< 4.1.2)
- Projects that depend on NuGet package System.Text.Encodings.Web (\>= 4.0.0, \< 4.0.1)
- Projects that depend on NuGet package System.Net.Http.WinHttpHandler (\>= 4.0.0, \< 4.0.1)
- Projects that depend on NuGet package System.Net.Security (\>= 4.0.0, \< 4.0.1)
- Projects that depend on NuGet package System.Net.WebSockets.Client (\>= 4.0.0, \< 4.0.1)
- Projects that depend on NuGet package Microsoft.AspNetCore.Mvc.Abstractions (\>= 1.0.0, \< 1.0.4)

## 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 and fixed versions

- NuGet `Microsoft.AspNetCore.Mvc`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Core`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `System.Net.Http`: affected \>= 4.1.1, \< 4.1.2; fixed 4.1.2, 4.3.2 (osv)
- NuGet `System.Text.Encodings.Web`: affected \>= 4.0.0, \< 4.0.1; fixed 4.0.1, 4.3.1 (osv)
- NuGet `System.Net.Http.WinHttpHandler`: affected \>= 4.0.0, \< 4.0.1; fixed 4.0.1, 4.3.1 (osv)
- NuGet `System.Net.Security`: affected \>= 4.0.0, \< 4.0.1; fixed 4.0.1, 4.3.1 (osv)
- NuGet `System.Net.WebSockets.Client`: affected \>= 4.0.0, \< 4.0.1; fixed 4.0.1, 4.3.1 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Abstractions`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.ApiExplorer`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Cors`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.DataAnnotations`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Formatters.Json`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Formatters.Xml`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Localization`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Razor.Host`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.Razor`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.TagHelpers`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.ViewFeatures`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- NuGet `Microsoft.AspNetCore.Mvc.WebApiCompatShim`: affected \>= 1.0.0, \< 1.0.4; fixed 1.0.4, 1.1.3 (osv)
- Microsoft Corporation Microsoft .NET Framework: Microsoft .NET Framework 2.0, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2 and 4.7 (cvelist)

## Mitigation

- Upgrade Microsoft.AspNetCore.Mvc to one of 1.0.4, 1.1.3 (or later in the same release line).
- Upgrade Microsoft.AspNetCore.Mvc.Core to one of 1.0.4, 1.1.3 (or later in the same release line).
- Upgrade System.Net.Http to one of 4.1.2, 4.3.2 (or later in the same release line).
- Upgrade System.Text.Encodings.Web to one of 4.0.1, 4.3.1 (or later in the same release line).
- Upgrade System.Net.Http.WinHttpHandler to one of 4.0.1, 4.3.1 (or later in the same release line).
- Upgrade System.Net.Security to one of 4.0.1, 4.3.1 (or later in the same release line).
- Upgrade System.Net.WebSockets.Client to one of 4.0.1, 4.3.1 (or later in the same release line).
- Upgrade Microsoft.AspNetCore.Mvc.Abstractions to one of 1.0.4, 1.1.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-0248. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-0248.md
Affected: Microsoft.AspNetCore.Mvc >= 1.0.0, < 1.0.4; Microsoft.AspNetCore.Mvc.Core >= 1.0.0, < 1.0.4; System.Net.Http >= 4.1.1, < 4.1.2; System.Text.Encodings.Web >= 4.0.0, < 4.0.1; System.Net.Http.WinHttpHandler >= 4.0.0, < 4.0.1; System.Net.Security >= 4.0.0, < 4.0.1; System.Net.WebSockets.Client >= 4.0.0…
Fixed in: 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1

Steps:
1. Search this machine and project for Microsoft.AspNetCore.Mvc (NuGet), Microsoft.AspNetCore.Mvc.Core (NuGet), System.Net.Http (NuGet), System.Text.Encodings.Web (NuGet), System.Net.Http.WinHttpHandler (NuGet), System.Net.Security (NuGet): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-0248 being exploited?

There is no confirmed exploitation: CVE-2017-0248 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.51% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-0248?

High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2017-0248?

Microsoft.AspNetCore.Mvc \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Core \>= 1.0.0, \< 1.0.4; System.Net.Http \>= 4.1.1, \< 4.1.2; System.Text.Encodings.Web \>= 4.0.0, \< 4.0.1; System.Net.Http.WinHttpHandler \>= 4.0.0, \< 4.0.1; System.Net.Security \>= 4.0.0, \< 4.0.1; System.Net.WebSockets.Client \>= 4.0.0, \< 4.0.1; Microsoft.AspNetCore.Mvc.Abstractions \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.ApiExplorer \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Cors \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.DataAnnotations \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Formatters.Json \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Formatters.Xml \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Localization \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Razor.Host \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.Razor \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.TagHelpers \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.ViewFeatures \>= 1.0.0, \< 1.0.4; Microsoft.AspNetCore.Mvc.WebApiCompatShim \>= 1.0.0, \< 1.0.4.

### Is there a fix for CVE-2017-0248?

Yes. Fixed in 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1. Upgrade Microsoft.AspNetCore.Mvc to one of 1.0.4, 1.1.3 (or later in the same release line). Upgrade Microsoft.AspNetCore.Mvc.Core to one of 1.0.4, 1.1.3 (or later in the same release line). Upgrade System.Net.Http to one of 4.1.2, 4.3.2 (or later in the same release line). Upgrade System.Text.Encodings.Web to one of 4.0.1, 4.3.1 (or later in the same release line). Upgrade System.Net.Http.WinHttpHandler to one of 4.0.1, 4.3.1 (or later in the same release line). Upgrade System.Net.Security to one of 4.0.1, 4.3.1 (or later in the same release line). Upgrade System.Net.WebSockets.Client to one of 4.0.1, 4.3.1 (or later in the same release line). Upgrade Microsoft.AspNetCore.Mvc.Abstractions to one of 1.0.4, 1.1.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2017-0248?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2017-0248>
- vendor: <https://github.com/advisories/GHSA-ch6p-4jcm-h8vh>
- patch: <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0248>
- other: <http://www.securityfocus.com/bid/98117>
- other: <http://www.securitytracker.com/id/1038458>
- other: <https://github.com/aspnet/Announcements/issues/239>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-0248>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ch6p-4jcm-h8vh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2017-0248> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-0248>
