{"answers":{"affected":"40 open source packages ship an affected version, including Microsoft.NETCore.UniversalWindowsPlatform, System.Private.ServiceModel and System.ServiceModel.Duplex. It affects 3 products.","exploited":"There is no known exploitation of CVE-2018-0786 in the wild and no public exploit code.","fix":"Upgrade Microsoft.NETCore.UniversalWindowsPlatform to a fixed version for your release line: 5.2.4, 5.3.5, 5.4.2 or 6.0.6.","what":"CVE-2018-0786 is a high-severity vulnerability in Microsoft .Net Framework, published on 10 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-0786 and fix it if it is affected.\n\nWhat it is: CVE-2018-0786 is a high-severity vulnerability in Microsoft .Net Framework, published on 10 Jan 2018. 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-2018-0786 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 5.2.0; fixed in 5.2.4\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 5.2.0; fixed in 5.2.4\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 5.3.0; fixed in 5.3.5\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 5.3.0; fixed in 5.3.5\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 5.4.0; fixed in 5.4.2\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 5.4.0; fixed in 5.4.2\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 6.0.0; fixed in 6.0.6\n- Microsoft.NETCore.UniversalWindowsPlatform (NuGet): affected from 6.0.0; fixed in 6.0.6\n- System.Private.ServiceModel (NuGet): affected from 4.1.0; fixed in 4.1.1\n- System.Private.ServiceModel (NuGet): affected from 4.1.0; fixed in 4.1.1\n- System.Private.ServiceModel (NuGet): affected from 4.3.0; fixed in 4.3.1\n- System.Private.ServiceModel (NuGet): affected from 4.3.0; fixed in 4.3.1\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-2018-0786/ (Markdown: https://insights.sbomify.com/CVE-2018-0786/index.md)","id":"CVE-2018-0786","markdown":"https://insights.sbomify.com/CVE-2018-0786/index.md","name":"CVE-2018-0786","record":{"aliases":["GHSA-jc8g-xhw5-6x46"],"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 certificate validation in Microsoft .NET and PowerShell, potentially enabling man-in-the-middle attacks or trust violations.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net_core","vendor":"microsoft"},{"product":".net_framework","vendor":"microsoft"},{"product":"powershell_core","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 SP2, 3.0 SP2, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, .NET Core 1.0 and 2.0, and PowerShell Core 6.0.0 allow a security feature bypass vulnerability due to the way certificates are validated, aka \".NET Security Feature Bypass Vulnerability.\"","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":"Improper Certificate Validation in Microsoft .NET Framework components","id":"CVE-2018-0786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":"microsoft:.net_framework","products":["microsoft:.net_framework"],"type":"security_feature_bypass","year":"2018"},"n_packages":44,"n_references":3,"next":{"headline":"ASP.NET Core allow an elevation of privilege","id":"CVE-2018-0787"},"packages":[{"ecosystem":"NuGet","fixed":["5.2.4"],"introduced":["5.2.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["5.2.4"],"introduced":["5.2.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":"pkg:nuget/Microsoft.NETCore.UniversalWindowsPlatform","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["5.3.5"],"introduced":["5.3.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["5.3.5"],"introduced":["5.3.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":"pkg:nuget/Microsoft.NETCore.UniversalWindowsPlatform","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["5.4.2"],"introduced":["5.4.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["5.4.2"],"introduced":["5.4.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":"pkg:nuget/Microsoft.NETCore.UniversalWindowsPlatform","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NETCore.UniversalWindowsPlatform","purl":"pkg:nuget/Microsoft.NETCore.UniversalWindowsPlatform","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.Private.ServiceModel","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.Private.ServiceModel","purl":"pkg:nuget/System.Private.ServiceModel","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.Private.ServiceModel","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.Private.ServiceModel","purl":"pkg:nuget/System.Private.ServiceModel","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.Private.ServiceModel","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.Private.ServiceModel","purl":"pkg:nuget/System.Private.ServiceModel","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.0.2"],"introduced":["4.0.1"],"last_affected":[],"package":"System.ServiceModel.Duplex","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.0.2"],"introduced":["4.0.1"],"last_affected":[],"package":"System.ServiceModel.Duplex","purl":"pkg:nuget/System.ServiceModel.Duplex","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.Duplex","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.Duplex","purl":"pkg:nuget/System.ServiceModel.Duplex","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.Duplex","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.Duplex","purl":"pkg:nuget/System.ServiceModel.Duplex","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.ServiceModel.Http","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.ServiceModel.Http","purl":"pkg:nuget/System.ServiceModel.Http","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.Http","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.Http","purl":"pkg:nuget/System.ServiceModel.Http","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.Http","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.Http","purl":"pkg:nuget/System.ServiceModel.Http","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.ServiceModel.NetTcp","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.ServiceModel.NetTcp","purl":"pkg:nuget/System.ServiceModel.NetTcp","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.NetTcp","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.NetTcp","purl":"pkg:nuget/System.ServiceModel.NetTcp","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.NetTcp","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.NetTcp","purl":"pkg:nuget/System.ServiceModel.NetTcp","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.ServiceModel.Primitives","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"System.ServiceModel.Primitives","purl":"pkg:nuget/System.ServiceModel.Primitives","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.Primitives","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"System.ServiceModel.Primitives","purl":"pkg:nuget/System.ServiceModel.Primitives","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.Primitives","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"System.ServiceModel.Primitives","purl":"pkg:nuget/System.ServiceModel.Primitives","source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.0.2"],"introduced":["4.0.1"],"last_affected":[],"package":"System.ServiceModel.Security","purl":null,"source":"GHSA-jc8g-xhw5-6x46"},{"ecosystem":"NuGet","fixed":["4.0.2"],"introduced":["4.0.1"],"last_affected":[],"package":"System.ServiceModel.Security","purl":"pkg:nuget/System.ServiceModel.Security","source":"GHSA-jc8g-xhw5-6x46"}],"prev":{"headline":"Cross-site request forgery in ASP.NET Core","id":"CVE-2018-0785"},"products":[".NET Framework, .NET Core, and PowerShell Core"],"published":"2018-01-10","related":[{"cvss_score":7.8,"headline":"Microsoft .NET Framework, SharePoint, and Visual Studio Remote Code Execution","id":"CVE-2020-1147","kev_date_added":"2021-11-03","published":"2020-07-14"},{"cvss_score":8.8,"headline":"Code injection in .NET Core","id":"CVE-2020-0605","kev_date_added":null,"published":"2020-01-14"},{"cvss_score":8.8,"headline":"Remote code execution in Microsoft.WindowsDesktop.App.Ref","id":"CVE-2020-0606","kev_date_added":null,"published":"2020-01-14"},{"cvss_score":7.5,"headline":"High severity vulnerability that affects System.Management.Automation","id":"CVE-2019-1301","kev_date_added":null,"published":"2019-09-11"},{"cvss_score":7.5,"headline":"Regular Expression Denial of Service in System.Text.RegularExpressions","id":"CVE-2019-0820","kev_date_added":null,"published":"2019-05-16"},{"cvss_score":7.5,"headline":"Denial of service in ASP.NET Core","id":"CVE-2019-0980","kev_date_added":null,"published":"2019-05-16"},{"cvss_score":7.5,"headline":"Denial of service in ASP.NET Core","id":"CVE-2019-0981","kev_date_added":null,"published":"2019-05-16"}],"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-09-16","vendors":["Microsoft Corporation"]},"summary":"Attackers can bypass certificate validation in Microsoft .NET and PowerShell, potentially enabling man-in-the-middle attacks or trust violations.","url":"https://insights.sbomify.com/CVE-2018-0786/"}