Skip to main content

CVE-2018-8356 — Improper Certificate Validation in...

MEDIUM

Improper Certificate Validation in Microsoft .NET Framework components

Published May 14, 2022Updated November 8, 2023Source: OSV

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.

Check my packages.lock.json

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.

NuGet
Update System.ServiceModel.NetTcp to 4.5.3 or later
dotnet add package System.ServiceModel.NetTcp --version 4.5.3
NuGet
Update System.ServiceModel.NetTcp to 4.3.3 or later
dotnet add package System.ServiceModel.NetTcp --version 4.3.3
NuGet
Update System.ServiceModel.NetTcp to 4.1.3 or later
dotnet add package System.ServiceModel.NetTcp --version 4.1.3
NuGet
Update System.ServiceModel.NetTcp to 4.4.4 or later
dotnet add package System.ServiceModel.NetTcp --version 4.4.4
NuGet
Update System.Private.ServiceModel to 4.1.3 or later
dotnet add package System.Private.ServiceModel --version 4.1.3
NuGet
Update System.ServiceModel.Security to 4.0.4 or later
dotnet add package System.ServiceModel.Security --version 4.0.4
NuGet
Update System.ServiceModel.Http to 4.1.3 or later
dotnet add package System.ServiceModel.Http --version 4.1.3
NuGet
Update System.ServiceModel.Http to 4.4.4 or later
dotnet add package System.ServiceModel.Http --version 4.4.4
NuGet
Update System.ServiceModel.Primitives to 4.5.3 or later
dotnet add package System.ServiceModel.Primitives --version 4.5.3
NuGet
Update System.ServiceModel.Primitives to 4.3.3 or later
dotnet add package System.ServiceModel.Primitives --version 4.3.3
NuGet
Update System.ServiceModel.Duplex to 4.3.3 or later
dotnet add package System.ServiceModel.Duplex --version 4.3.3
NuGet
Update System.Private.ServiceModel to 4.3.3 or later
dotnet add package System.Private.ServiceModel --version 4.3.3
NuGet
Update System.Private.ServiceModel to 4.4.4 or later
dotnet add package System.Private.ServiceModel --version 4.4.4
NuGet
Update System.ServiceModel.Duplex to 4.5.3 or later
dotnet add package System.ServiceModel.Duplex --version 4.5.3
NuGet
Update System.ServiceModel.Security to 4.5.3 or later
dotnet add package System.ServiceModel.Security --version 4.5.3
NuGet
Update System.ServiceModel.Http to 4.3.3 or later
dotnet add package System.ServiceModel.Http --version 4.3.3
NuGet
Update System.ServiceModel.Primitives to 4.1.3 or later
dotnet add package System.ServiceModel.Primitives --version 4.1.3
NuGet
Update System.Private.ServiceModel to 4.5.3 or later
dotnet add package System.Private.ServiceModel --version 4.5.3
NuGet
Update System.ServiceModel.Primitives to 4.4.4 or later
dotnet add package System.ServiceModel.Primitives --version 4.4.4
NuGet
Update System.ServiceModel.Http to 4.5.3 or later
dotnet add package System.ServiceModel.Http --version 4.5.3
NuGet
Update System.ServiceModel.Security to 4.3.3 or later
dotnet add package System.ServiceModel.Security --version 4.3.3
NuGet
Update System.ServiceModel.Security to 4.4.4 or later
dotnet add package System.ServiceModel.Security --version 4.4.4
NuGet
Update System.ServiceModel.Duplex to 4.0.4 or later
dotnet add package System.ServiceModel.Duplex --version 4.0.4
NuGet
Update System.ServiceModel.Duplex to 4.4.4 or later
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).

PackageFixed In
System.ServiceModel.NetTcp NuGet · Affected: 4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.NetTcp NuGet · Affected: 4.3.0, 4.3.1, 4.3.24.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.34.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.34.4.4
System.ServiceModel.Primitives NuGet · Affected: 4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Primitives NuGet · Affected: 4.3.0, 4.3.1, 4.3.24.3.3
System.ServiceModel.Duplex NuGet · Affected: 4.3.0, 4.3.1, 4.3.24.3.3
System.Private.ServiceModel NuGet · Affected: 4.3.0, 4.3.1, 4.3.24.3.3
System.Private.ServiceModel NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.34.4.4
System.ServiceModel.Duplex NuGet · Affected: 4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Security NuGet · Affected: 4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Http NuGet · Affected: 4.3.0, 4.3.1, 4.3.24.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.24.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.24.5.3
System.ServiceModel.Security NuGet · Affected: 4.3.0, 4.3.1, 4.3.24.3.3
System.ServiceModel.Security NuGet · Affected: 4.4.0, 4.4.1, 4.4.2, 4.4.34.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.34.4.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-295
    Improper Certificate ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

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

CVSS Score
5.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.73%
EPSS percentile: 50.3

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

GHSA-p9wx-v264-q34p

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json