CVE-2017-0256

CVE-2017-0256 is a medium-severity improper input validation vulnerability in Microsoft.AspNetCore.Mvc (nuget), affecting versions >= 1.0.0, < 1.0.4. It is fixed in 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc

A spoofing vulnerability exists when the ASP.NET Core fails to properly sanitize web requests.

Impact

The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths. Typical impact: varies by context: data corruption, logic bypass, or denial of service.

CVE-2017-0256 has a CVSS score of 5.3 (Medium). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1); upgrading removes the vulnerable code path.

Affected versions

Microsoft.AspNetCore.Mvc (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Core (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Core (>= 1.1.0, < 1.1.3) System.Net.Http (= 4.1.1) System.Net.Http (= 4.3.1) System.Text.Encodings.Web (= 4.0.0) System.Text.Encodings.Web (= 4.3.0) System.Net.Http.WinHttpHandler (= 4.0.0) System.Net.Http.WinHttpHandler (= 4.3.0) System.Net.Security (= 4.0.0) System.Net.Security (= 4.3.0) System.Net.WebSockets.Client (= 4.0.0) System.Net.WebSockets.Client (= 4.3.0) Microsoft.AspNetCore.Mvc.Abstractions (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Abstractions (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.ApiExplorer (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.ApiExplorer (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Cors (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Cors (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.DataAnnotations (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.DataAnnotations (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Formatters.Json (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Formatters.Json (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Formatters.Xml (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Formatters.Xml (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Localization (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Localization (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Razor.Host (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Razor.Host (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.Razor (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.Razor (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.TagHelpers (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.TagHelpers (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.ViewFeatures (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.ViewFeatures (>= 1.1.0, < 1.1.3) Microsoft.AspNetCore.Mvc.WebApiCompatShim (>= 1.0.0, < 1.0.4) Microsoft.AspNetCore.Mvc.WebApiCompatShim (>= 1.1.0, < 1.1.3)

Security releases

Microsoft.AspNetCore.Mvc → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Core → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Core → 1.1.3 (nuget) System.Net.Http → 4.1.2 (nuget) System.Net.Http → 4.3.2 (nuget) System.Text.Encodings.Web → 4.0.1 (nuget) System.Text.Encodings.Web → 4.3.1 (nuget) System.Net.Http.WinHttpHandler → 4.0.1 (nuget) System.Net.Http.WinHttpHandler → 4.3.1 (nuget) System.Net.Security → 4.0.1 (nuget) System.Net.Security → 4.3.1 (nuget) System.Net.WebSockets.Client → 4.0.1 (nuget) System.Net.WebSockets.Client → 4.3.1 (nuget) Microsoft.AspNetCore.Mvc.Abstractions → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Abstractions → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.ApiExplorer → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.ApiExplorer → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Cors → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Cors → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.DataAnnotations → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.DataAnnotations → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Formatters.Json → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Formatters.Json → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Formatters.Xml → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Formatters.Xml → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Localization → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Localization → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Razor.Host → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Razor.Host → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.Razor → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.Razor → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.TagHelpers → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.TagHelpers → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.ViewFeatures → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.ViewFeatures → 1.1.3 (nuget) Microsoft.AspNetCore.Mvc.WebApiCompatShim → 1.0.4 (nuget) Microsoft.AspNetCore.Mvc.WebApiCompatShim → 1.1.3 (nuget)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade the following packages to resolve this vulnerability:

Microsoft.AspNetCore.Mvc to 1.0.4 or later; Microsoft.AspNetCore.Mvc to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Core to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Core to 1.1.3 or later; System.Net.Http to 4.1.2 or later; System.Net.Http to 4.3.2 or later; System.Text.Encodings.Web to 4.0.1 or later; System.Text.Encodings.Web to 4.3.1 or later; System.Net.Http.WinHttpHandler to 4.0.1 or later; System.Net.Http.WinHttpHandler to 4.3.1 or later; System.Net.Security to 4.0.1 or later; System.Net.Security to 4.3.1 or later; System.Net.WebSockets.Client to 4.0.1 or later; System.Net.WebSockets.Client to 4.3.1 or later; Microsoft.AspNetCore.Mvc.Abstractions to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Abstractions to 1.1.3 or later; Microsoft.AspNetCore.Mvc.ApiExplorer to 1.0.4 or later; Microsoft.AspNetCore.Mvc.ApiExplorer to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Cors to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Cors to 1.1.3 or later; Microsoft.AspNetCore.Mvc.DataAnnotations to 1.0.4 or later; Microsoft.AspNetCore.Mvc.DataAnnotations to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Formatters.Json to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Formatters.Json to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Formatters.Xml to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Formatters.Xml to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Localization to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Localization to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Razor.Host to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Razor.Host to 1.1.3 or later; Microsoft.AspNetCore.Mvc.Razor to 1.0.4 or later; Microsoft.AspNetCore.Mvc.Razor to 1.1.3 or later; Microsoft.AspNetCore.Mvc.TagHelpers to 1.0.4 or later; Microsoft.AspNetCore.Mvc.TagHelpers to 1.1.3 or later; Microsoft.AspNetCore.Mvc.ViewFeatures to 1.0.4 or later; Microsoft.AspNetCore.Mvc.ViewFeatures to 1.1.3 or later; Microsoft.AspNetCore.Mvc.WebApiCompatShim to 1.0.4 or later; Microsoft.AspNetCore.Mvc.WebApiCompatShim to 1.1.3 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2017-0256? CVE-2017-0256 is a medium-severity improper input validation vulnerability in Microsoft.AspNetCore.Mvc (nuget), affecting versions >= 1.0.0, < 1.0.4. It is fixed in 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1. The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths.
  2. How severe is CVE-2017-0256? CVE-2017-0256 has a CVSS score of 5.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which packages are affected by CVE-2017-0256?
    • Microsoft.AspNetCore.Mvc (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Core (nuget) (versions >= 1.0.0, < 1.0.4)
    • System.Net.Http (nuget) (versions = 4.1.1)
    • System.Text.Encodings.Web (nuget) (versions = 4.0.0)
    • System.Net.Http.WinHttpHandler (nuget) (versions = 4.0.0)
    • System.Net.Security (nuget) (versions = 4.0.0)
    • System.Net.WebSockets.Client (nuget) (versions = 4.0.0)
    • Microsoft.AspNetCore.Mvc.Abstractions (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.ApiExplorer (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Cors (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.DataAnnotations (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Formatters.Json (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Formatters.Xml (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Localization (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Razor.Host (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.Razor (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.TagHelpers (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.ViewFeatures (nuget) (versions >= 1.0.0, < 1.0.4)
    • Microsoft.AspNetCore.Mvc.WebApiCompatShim (nuget) (versions >= 1.0.0, < 1.0.4)
  4. Is there a fix for CVE-2017-0256? Yes. CVE-2017-0256 is fixed in 1.0.4, 1.1.3, 4.1.2, 4.3.2, 4.0.1, 4.3.1. Upgrade to this version or later.
  5. Is CVE-2017-0256 exploitable, and should I be worried? Whether CVE-2017-0256 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2017-0256 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2017-0256?
    • Upgrade Microsoft.AspNetCore.Mvc to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Core to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Core to 1.1.3 or later
    • Upgrade System.Net.Http to 4.1.2 or later
    • Upgrade System.Net.Http to 4.3.2 or later
    • Upgrade System.Text.Encodings.Web to 4.0.1 or later
    • Upgrade System.Text.Encodings.Web to 4.3.1 or later
    • Upgrade System.Net.Http.WinHttpHandler to 4.0.1 or later
    • Upgrade System.Net.Http.WinHttpHandler to 4.3.1 or later
    • Upgrade System.Net.Security to 4.0.1 or later
    • Upgrade System.Net.Security to 4.3.1 or later
    • Upgrade System.Net.WebSockets.Client to 4.0.1 or later
    • Upgrade System.Net.WebSockets.Client to 4.3.1 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Abstractions to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Abstractions to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.ApiExplorer to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.ApiExplorer to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Cors to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Cors to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.DataAnnotations to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.DataAnnotations to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Formatters.Json to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Formatters.Json to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Formatters.Xml to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Formatters.Xml to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Localization to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Localization to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Razor.Host to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Razor.Host to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Razor to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.Razor to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.TagHelpers to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.TagHelpers to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.ViewFeatures to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.ViewFeatures to 1.1.3 or later
    • Upgrade Microsoft.AspNetCore.Mvc.WebApiCompatShim to 1.0.4 or later
    • Upgrade Microsoft.AspNetCore.Mvc.WebApiCompatShim to 1.1.3 or later

Other vulnerabilities in Microsoft.AspNetCore.Mvc

Stop the waste.
Protect your environment with Kodem.