{"answers":{"affected":"40 open source packages ship an affected version, including Microsoft.AspNetCore.Mvc, DisCatSharp and Microsoft.AspNetCore.Mvc.Abstractions. It affects 18 products.","exploited":"There is no known exploitation of CVE-2017-0249 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-0249 is a high-severity 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-0249 and fix it if it is affected.\n\nWhat it is: CVE-2017-0249 is a high-severity 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-0249 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- DisCatSharp (NuGet): affected all versions up to 9.8.3; no fix listed\n- DisCatSharp (NuGet): affected all versions up to 9.8.3; no fix listed\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\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-0249/ (Markdown: https://insights.sbomify.com/CVE-2017-0249/index.md)","id":"CVE-2017-0249","markdown":"https://insights.sbomify.com/CVE-2017-0249/index.md","name":"CVE-2017-0249","record":{"aliases":["ECHO-29ff-42b2-521d","GHSA-qhqf-ghgh-x2m4"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"ASP.NET Core","requires_auth":"none","summary":"Attackers can elevate privileges by exploiting improper sanitization of web requests in the ASP.NET Core framework.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"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.3,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"An elevation of privilege vulnerability exists when the ASP.NET Core fails to properly sanitize web requests.","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":"High severity vulnerability that affects Microsoft.AspNetCore.Mvc","id":"CVE-2017-0249","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"privilege_escalation","year":"2017"},"n_packages":78,"n_references":1,"next":{"headline":"Memory corruption in Microsoft JET Database Engine","id":"CVE-2017-0250"},"packages":[{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":["9.8.3"],"package":"DisCatSharp","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":["9.8.3"],"package":"DisCatSharp","purl":"pkg:nuget/DisCatSharp","source":"GHSA-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-qhqf-ghgh-x2m4"},{"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-qhqf-ghgh-x2m4"}],"prev":{"headline":"Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore.Mvc.Core","id":"CVE-2017-0248"},"products":["ASP.NET Core"],"published":"2017-05-12","related":[{"cvss_score":7.5,"headline":"ASP.NET Core fails to properly validate web requests","id":"CVE-2017-0247","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":"Attackers can elevate privileges by exploiting improper sanitization of web requests in the ASP.NET Core framework.","url":"https://insights.sbomify.com/CVE-2017-0249/"}