CVE-2017-0247
ASP.NET Core fails to properly validate web requests
Also known as GHSA-6xh7-4v2w-36q6
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.5.4 (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).
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)
Vulnerability facts
- 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, < 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
- Fixed in
- 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1, 4.5.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 16.91% chance of exploitation in 30 days (percentile 98, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
A denial of service vulnerability exists when the ASP.NET Core fails to properly validate web requests. NOTE: Microsoft has not commented on third-party claims that the issue is that the TextEncoder.EncodeCore function in the System.Text.Encodings.Web package in ASP.NET Core Mvc before 1.0.4 and 1.1.x before 1.1.3 allows remote attackers to cause a denial of service by leveraging failure to properly calculate the length of 4-byte characters in the Unicode Non-Character range.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet Microsoft.AspNetCore.Mvc | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Core | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet System.Net.Http | >= 4.1.1, < 4.1.2 | 4.1.2, 4.3.2 | osv |
| NuGet System.Text.Encodings.Web | >= 4.0.0, < 4.0.1 | 4.0.1, 4.3.1 | osv |
| NuGet System.Net.Http.WinHttpHandler | >= 4.0.0, < 4.0.1 | 4.0.1, 4.5.4 | osv |
| NuGet System.Net.Security | >= 4.0.0, < 4.0.1 | 4.0.1, 4.3.1 | osv |
| NuGet System.Net.WebSockets.Client | >= 4.0.0, < 4.0.1 | 4.0.1, 4.3.1 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Abstractions | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.ApiExplorer | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Cors | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.DataAnnotations | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Formatters.Json | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Formatters.Xml | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Localization | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Razor.Host | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.Razor | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.TagHelpers | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.ViewFeatures | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| NuGet Microsoft.AspNetCore.Mvc.WebApiCompatShim | >= 1.0.0, < 1.0.4 | 1.0.4, 1.1.3 | osv |
| Microsoft Corporation ASP.NET Core | ASP.NET Core | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2017-0247. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2017-0247.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, 4.5.4 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.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2017-0247 being exploited?
There is no confirmed exploitation: CVE-2017-0247 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 16.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2017-0247?
High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2017-0247?
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-0247?
Yes. Fixed in 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1, 4.5.4. 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.5.4 (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-0247?
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.