{"answers":{"affected":"40 open source packages ship an affected version, including Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.Mvc.Abstractions and Microsoft.AspNetCore.Mvc.ApiExplorer. It affects 18 products.","exploited":"There is no known exploitation of CVE-2017-0247 in the wild and no public exploit code.","fix":"Upgrade Microsoft.AspNetCore.Mvc to a fixed version for your release line: 1.0.4 or 1.1.3.","what":"CVE-2017-0247 is a high-severity denial of service vulnerability in Microsoft Corporation ASP.NET Core, published on 12 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-0247 and fix it if it is affected.\n\nWhat it is: CVE-2017-0247 is a high-severity denial of service vulnerability in Microsoft Corporation ASP.NET Core, published on 12 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-0247 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.Abstractions (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.0.0; fixed in 1.0.4\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.1.0; fixed in 1.1.3\n- Microsoft.AspNetCore.Mvc.ApiExplorer (NuGet): affected from 1.1.0; fixed in 1.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-0247/ (Markdown: https://insights.sbomify.com/CVE-2017-0247/index.md)","id":"CVE-2017-0247","markdown":"https://insights.sbomify.com/CVE-2017-0247/index.md","name":"CVE-2017-0247","record":{"aliases":["ECHO-bc40-6686-bc02","GHSA-6xh7-4v2w-36q6"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ASP.NET Core library","requires_auth":"none","summary":"Remote attackers can cause a denial of service in ASP.NET Core applications by exploiting improper validation of Unicode characters in web requests.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"asp.net_model_view_controller","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.abstractions","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.apiexplorer","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.cors","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.dataannotations","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.formatters.json","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.formatters.xml","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.localization","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.razor","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.razor.host","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.taghelpers","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.viewfeatures","vendor":"microsoft"},{"product":"microsoft.aspnetcore.mvc.webapicompatshim","vendor":"microsoft"},{"product":"system.net.http","vendor":"microsoft"},{"product":"system.net.http.winhttphandler","vendor":"microsoft"},{"product":"system.net.security","vendor":"microsoft"},{"product":"system.net.websockets.client","vendor":"microsoft"},{"product":"system.text.encodings.web","vendor":"microsoft"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ASP.NET Core fails to properly validate web requests","id":"CVE-2017-0247","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"denial_of_service","year":"2017"},"n_packages":76,"n_references":3,"next":{"headline":"Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore.Mvc.Core","id":"CVE-2017-0248"},"packages":[{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Abstractions","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Abstractions","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.ApiExplorer","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.ApiExplorer","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Core","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Core","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Cors","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Cors","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.DataAnnotations","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.DataAnnotations","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Json","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Json","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Xml","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Formatters.Xml","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Localization","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Localization","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Razor","source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-6xh7-4v2w-36q6"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc.Razor","source":"GHSA-6xh7-4v2w-36q6"}],"prev":{"headline":"Privilege escalation in Microsoft Windows","id":"CVE-2017-0246"},"products":["ASP.NET Core"],"published":"2017-05-12","related":[{"cvss_score":7.3,"headline":"High severity vulnerability that affects Microsoft.AspNetCore.Mvc","id":"CVE-2017-0249","kev_date_added":null,"published":"2017-05-12"},{"cvss_score":5.3,"headline":"Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc","id":"CVE-2017-0256","kev_date_added":null,"published":"2017-05-12"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2014-4075","kev_date_added":null,"published":"2014-10-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Microsoft Corporation"]},"summary":"Remote attackers can cause a denial of service in ASP.NET Core applications by exploiting improper validation of Unicode characters in web requests.","url":"https://insights.sbomify.com/CVE-2017-0247/"}