{"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 1 product.","exploited":"There is no known exploitation of CVE-2017-0248 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-0248 is a high-severity vulnerability in Microsoft .Net Framework, 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-0248 and fix it if it is affected.\n\nWhat it is: CVE-2017-0248 is a high-severity vulnerability in Microsoft .Net Framework, 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-0248 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-0248/ (Markdown: https://insights.sbomify.com/CVE-2017-0248/index.md)","id":"CVE-2017-0248","markdown":"https://insights.sbomify.com/CVE-2017-0248/index.md","name":"CVE-2017-0248","record":{"aliases":["ECHO-a934-0cf3-abf5","GHSA-ch6p-4jcm-h8vh"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":".NET Framework","requires_auth":"none","summary":"Attackers can bypass Enhanced Security Usage taggings in Microsoft .NET Framework by presenting invalid certificates, undermining security controls.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net_framework","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-295","name":"Improper Certificate Validation"}],"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.\"","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":"2019-01-29","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-01-29T13:23:24Z","kind":"github_poc","ref":"https://github.com/rubenmamo/CVE-2017-0248-Test","stars":0,"title":"Sample project to test using Microsoft.CodeDom.Providers.DotNetCompilerPlatform 2.0.1 causing CVE-2017-0248"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore.Mvc.Core","id":"CVE-2017-0248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":"microsoft:.net_framework","products":["microsoft:.net_framework"],"type":"security_feature_bypass","year":"2017"},"n_packages":76,"n_references":3,"next":{"headline":"High severity vulnerability that affects Microsoft.AspNetCore.Mvc","id":"CVE-2017-0249"},"packages":[{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc","purl":"pkg:nuget/Microsoft.AspNetCore.Mvc","source":"GHSA-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Abstractions","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.ApiExplorer","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Core","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Cors","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.DataAnnotations","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Json","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Formatters.Xml","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Localization","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.0.4"],"introduced":["1.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"},{"ecosystem":"NuGet","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Mvc.Razor","purl":null,"source":"GHSA-ch6p-4jcm-h8vh"},{"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-ch6p-4jcm-h8vh"}],"prev":{"headline":"ASP.NET Core fails to properly validate web requests","id":"CVE-2017-0247"},"products":["Microsoft .NET Framework"],"published":"2017-05-12","related":[{"cvss_score":9.8,"headline":"Microsoft .NET Framework Remote Code Execution","id":"CVE-2020-0646","kev_date_added":"2021-11-03","published":"2020-01-14"},{"cvss_score":7.8,"headline":"Microsoft .NET Framework Remote Code Execution","id":"CVE-2017-8759","kev_date_added":"2021-11-03","published":"2017-09-13"},{"cvss_score":7.8,"headline":"Microsoft Windows Remote Code Execution","id":"CVE-2015-1671","kev_date_added":"2022-05-25","published":"2015-05-13"},{"cvss_score":7.5,"headline":"Microsoft .NET Framework Information Disclosure","id":"CVE-2024-29059","kev_date_added":"2025-02-04","published":"2024-03-22"},{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2014-4073","kev_date_added":null,"published":"2014-10-15"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-4121","kev_date_added":null,"published":"2014-10-15"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2014-1806","kev_date_added":null,"published":"2014-05-14"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Microsoft Corporation"]},"summary":"Attackers can bypass Enhanced Security Usage taggings in Microsoft .NET Framework by presenting invalid certificates, undermining security controls.","url":"https://insights.sbomify.com/CVE-2017-0248/"}