CVE-2018-0786 — Improper Certificate Validation in...
Improper Certificate Validation in Microsoft .NET Framework components
Summary
Advisory Timeline
- First published October 16, 2018 (2918 days ago).
- Last revised November 8, 2023 — 1848 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package System.ServiceModel.Duplex --version 4.0.2
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 5.3.5
dotnet add package System.ServiceModel.Primitives --version 4.4.1
dotnet add package System.ServiceModel.Security --version 4.3.1
dotnet add package System.ServiceModel.Primitives --version 4.1.1
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 5.2.4
dotnet add package System.ServiceModel.Duplex --version 4.4.1
dotnet add package System.ServiceModel.Primitives --version 4.3.1
dotnet add package System.ServiceModel.Http --version 4.1.1
dotnet add package System.ServiceModel.Security --version 4.0.2
dotnet add package System.Private.ServiceModel --version 4.4.1
dotnet add package System.ServiceModel.Http --version 4.4.1
dotnet add package System.Private.ServiceModel --version 4.1.1
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 5.4.2
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 6.0.6
dotnet add package System.ServiceModel.Security --version 4.4.1
dotnet add package System.ServiceModel.NetTcp --version 4.4.1
dotnet add package System.ServiceModel.Duplex --version 4.3.1
dotnet add package System.ServiceModel.NetTcp --version 4.3.1
dotnet add package System.ServiceModel.NetTcp --version 4.1.1
dotnet add package System.ServiceModel.Http --version 4.3.1
dotnet add package System.Private.ServiceModel --version 4.3.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (22)
Affects 1 ecosystem: nuget (7).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-295Improper Certificate ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-0786ADVISORY
- https://github.com/dotnet/announcements/issues/51WEB
- https://github.com/github/advisory-database/issues/302WEB
- https://github.com/advisories/GHSA-jc8g-xhw5-6x46ADVISORY
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-0786WEB
- https://www.nuget.org/packages/System.ServiceModel.Duplex#versions-body-tabWEB
Frequently Asked Questions
- What is CVE-2018-0786?
- Improper Certificate Validation in Microsoft .NET Framework components This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2018-0786?
- CVE-2018-0786 affects System.ServiceModel.Duplex, Microsoft.NETCore.UniversalWindowsPlatform and System.ServiceModel.Primitives (and 4 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-0786 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-106112HIGH
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
- CVE-2026-106115HIGH
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
- CVE-2018-8356MEDIUM
Improper Certificate Validation in Microsoft .NET Framework components
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies