CVE-2018-8356 — Improper Certificate Validation in...
Improper Certificate Validation in Microsoft .NET Framework components
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.73%). Schedule for your next planned update.
Does your project use an affected System.ServiceModel.NetTcp version?
Paste your packages.lock.json to check it for CVE-2018-8356 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A security feature bypass vulnerability exists when Microsoft .NET Framework components do not correctly validate certificates, aka ".NET Framework Security Feature Bypass Vulnerability." This affects .NET Framework 4.7.2, Microsoft .NET Framework 3.0, Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2, ASP.NET Core 1.1, Microsoft .NET Framework 4.5.2, ASP.NET Core 2.0, ASP.NET Core 1.0, .NET Core 1.1, Microsoft .NET Framework 3.5, Microsoft .NET Framework 3.5.1, Microsoft .NET Framework 4.6/4.6.1/4.6.2, .NET Core 1.0, .NET Core 2.0, Microsoft .NET Framework 4.6, Microsoft .NET Framework 4.6/4.6.1/4.6.2/4.7/4.7.1/4.7.1/4.7.2, Microsoft .NET Framework 4.7.2.
Advisory Timeline
- First published May 14, 2022 (1657 days ago).
- Last revised November 8, 2023 — 543 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package System.ServiceModel.NetTcp --version 4.5.3
dotnet add package System.ServiceModel.NetTcp --version 4.3.3
dotnet add package System.ServiceModel.NetTcp --version 4.1.3
dotnet add package System.ServiceModel.NetTcp --version 4.4.4
dotnet add package System.Private.ServiceModel --version 4.1.3
dotnet add package System.ServiceModel.Security --version 4.0.4
dotnet add package System.ServiceModel.Http --version 4.1.3
dotnet add package System.ServiceModel.Http --version 4.4.4
dotnet add package System.ServiceModel.Primitives --version 4.5.3
dotnet add package System.ServiceModel.Primitives --version 4.3.3
dotnet add package System.ServiceModel.Duplex --version 4.3.3
dotnet add package System.Private.ServiceModel --version 4.3.3
dotnet add package System.Private.ServiceModel --version 4.4.4
dotnet add package System.ServiceModel.Duplex --version 4.5.3
dotnet add package System.ServiceModel.Security --version 4.5.3
dotnet add package System.ServiceModel.Http --version 4.3.3
dotnet add package System.ServiceModel.Primitives --version 4.1.3
dotnet add package System.Private.ServiceModel --version 4.5.3
dotnet add package System.ServiceModel.Primitives --version 4.4.4
dotnet add package System.ServiceModel.Http --version 4.5.3
dotnet add package System.ServiceModel.Security --version 4.3.3
dotnet add package System.ServiceModel.Security --version 4.4.4
dotnet add package System.ServiceModel.Duplex --version 4.0.4
dotnet add package System.ServiceModel.Duplex --version 4.4.4
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (24)
Affects 1 ecosystem: NuGet (6).
| Package | Fixed In |
|---|---|
| System.ServiceModel.NetTcp NuGet · Affected: 4.5.0, 4.5.1, 4.5.2 | 4.5.3 |
| System.ServiceModel.NetTcp NuGet · Affected: 4.3.0, 4.3.1, 4.3.2 | 4.3.3 |
| System.ServiceModel.NetTcp NuGet · Affected: 4.0.0, 4.0.1-beta-23225, 4.0.1-beta-23409, 4.1.0 (+4 more) | 4.1.3 |
| System.ServiceModel.NetTcp NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.3 | 4.4.4 |
| System.Private.ServiceModel NuGet · Affected: 4.0.0, 4.0.1-beta-23225, 4.0.1-beta-23409, 4.1.0 (+4 more) | 4.1.3 |
| System.ServiceModel.Security NuGet · Affected: 4.0.0, 4.0.1, 4.0.1-beta-23225, 4.0.1-beta-23409 (+4 more) | 4.0.4 |
| System.ServiceModel.Http NuGet · Affected: 4.0.0, 4.0.10, 4.0.10-beta-22605, 4.0.10-beta-22816 (+9 more) | 4.1.3 |
| System.ServiceModel.Http NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.3 | 4.4.4 |
| System.ServiceModel.Primitives NuGet · Affected: 4.5.0, 4.5.1, 4.5.2 | 4.5.3 |
| System.ServiceModel.Primitives NuGet · Affected: 4.3.0, 4.3.1, 4.3.2 | 4.3.3 |
| System.ServiceModel.Duplex NuGet · Affected: 4.3.0, 4.3.1, 4.3.2 | 4.3.3 |
| System.Private.ServiceModel NuGet · Affected: 4.3.0, 4.3.1, 4.3.2 | 4.3.3 |
| System.Private.ServiceModel NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.3 | 4.4.4 |
| System.ServiceModel.Duplex NuGet · Affected: 4.5.0, 4.5.1, 4.5.2 | 4.5.3 |
| System.ServiceModel.Security NuGet · Affected: 4.5.0, 4.5.1, 4.5.2 | 4.5.3 |
| System.ServiceModel.Http NuGet · Affected: 4.3.0, 4.3.1, 4.3.2 | 4.3.3 |
| System.ServiceModel.Primitives NuGet · Affected: 4.0.0, 4.0.1-beta-23225, 4.0.1-beta-23409, 4.1.0 (+4 more) | 4.1.3 |
| System.Private.ServiceModel NuGet · Affected: 4.5.0, 4.5.1, 4.5.2 | 4.5.3 |
| System.ServiceModel.Primitives NuGet · Affected: 4.4.0, 4.4.1, 4.4.1-servicing-25917-01, 4.4.2 (+1 more) | 4.4.4 |
| System.ServiceModel.Http NuGet · Affected: 4.5.0, 4.5.1, 4.5.2 | 4.5.3 |
| System.ServiceModel.Security NuGet · Affected: 4.3.0, 4.3.1, 4.3.2 | 4.3.3 |
| System.ServiceModel.Security NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.3 | 4.4.4 |
| System.ServiceModel.Duplex NuGet · Affected: 4.0.0, 4.0.1, 4.0.1-beta-23225, 4.0.1-beta-23409 (+4 more) | 4.0.4 |
| System.ServiceModel.Duplex NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.3 | 4.4.4 |
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) 5.5 score means for each attack dimension.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2018-8356?
- Improper Certificate Validation in Microsoft .NET Framework components. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
- How do I check if my project is affected by CVE-2018-8356?
- CVE-2018-8356 affects System.ServiceModel.NetTcp, System.Private.ServiceModel and System.ServiceModel.Security (and 3 more). It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-8356 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 50.3% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2018-0786HIGH
Improper Certificate Validation in Microsoft .NET Framework components
- CVE-2026-114154MEDIUM
Microsoft Security Advisory CVE-2026-114154 - ASP.NET Core Denial of Service Vulnerability
- GHSA-6856-87hx-p5x7MEDIUM
Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability