CVE-2018-8356 Improper Certificate Validation in Microsoft .NET Framework components

Medium 5.5 Published Updated

Attackers can bypass certificate validation in Microsoft .NET Framework components, potentially undermining secure communications.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-8356?

CVE-2018-8356 is a medium-severity vulnerability in Microsoft .Net Framework, published on 11 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2018-8356?

40 open source packages ship an affected version, including System.ServiceModel.NetTcp, System.Private.ServiceModel and System.ServiceModel.Duplex. It affects 5 products.

PackageAffectedFixed in
System.ServiceModel.NetTcp NuGetFrom 4.0.04.1.3
System.ServiceModel.NetTcp NuGetFrom 4.0.04.1.3
System.ServiceModel.NetTcp NuGetFrom 4.3.04.3.3
System.ServiceModel.NetTcp NuGetFrom 4.3.04.3.3
System.ServiceModel.NetTcp NuGetFrom 4.4.04.4.4
System.ServiceModel.NetTcp NuGetFrom 4.4.04.4.4
34 more packages
System.ServiceModel.NetTcp NuGetFrom 4.5.04.5.3
System.ServiceModel.NetTcp NuGetFrom 4.5.04.5.3
System.Private.ServiceModel NuGetFrom 4.0.04.1.3
System.Private.ServiceModel NuGetFrom 4.0.04.1.3
System.Private.ServiceModel NuGetFrom 4.3.04.3.3
System.Private.ServiceModel NuGetFrom 4.3.04.3.3
System.Private.ServiceModel NuGetFrom 4.4.04.4.4
System.Private.ServiceModel NuGetFrom 4.4.04.4.4
System.Private.ServiceModel NuGetFrom 4.5.04.5.3
System.Private.ServiceModel NuGetFrom 4.5.04.5.3
System.ServiceModel.Duplex NuGetFrom 4.0.04.0.4
System.ServiceModel.Duplex NuGetFrom 4.0.04.0.4
System.ServiceModel.Duplex NuGetFrom 4.3.04.3.3
System.ServiceModel.Duplex NuGetFrom 4.3.04.3.3
System.ServiceModel.Duplex NuGetFrom 4.4.04.4.4
System.ServiceModel.Duplex NuGetFrom 4.4.04.4.4
System.ServiceModel.Duplex NuGetFrom 4.5.04.5.3
System.ServiceModel.Duplex NuGetFrom 4.5.04.5.3
System.ServiceModel.Http NuGetFrom 4.0.04.1.3
System.ServiceModel.Http NuGetFrom 4.0.04.1.3
System.ServiceModel.Http NuGetFrom 4.3.04.3.3
System.ServiceModel.Http NuGetFrom 4.3.04.3.3
System.ServiceModel.Http NuGetFrom 4.4.04.4.4
System.ServiceModel.Http NuGetFrom 4.4.04.4.4
System.ServiceModel.Http NuGetFrom 4.5.04.5.3
System.ServiceModel.Http NuGetFrom 4.5.04.5.3
System.ServiceModel.Primitives NuGetFrom 4.0.04.1.3
System.ServiceModel.Primitives NuGetFrom 4.0.04.1.3
System.ServiceModel.Primitives NuGetFrom 4.3.04.3.3
System.ServiceModel.Primitives NuGetFrom 4.3.04.3.3
System.ServiceModel.Primitives NuGetFrom 4.4.04.4.4
System.ServiceModel.Primitives NuGetFrom 4.4.04.4.4
System.ServiceModel.Primitives NuGetFrom 4.5.04.5.3
System.ServiceModel.Primitives NuGetFrom 4.5.04.5.3

Products include Microsoft .Net Core, Microsoft .Net Framework, Microsoft .Net Framework Developer Pack, Microsoft Asp.net Core, Microsoft Powershell Core.

How do I fix CVE-2018-8356?

Upgrade System.ServiceModel.NetTcp to a fixed version for your release line: 4.1.3, 4.3.3, 4.4.4 or 4.5.3.

Is CVE-2018-8356 being exploited?

There is no known exploitation of CVE-2018-8356 in the wild and no public exploit code.

All Microsoft .Net Framework vulnerabilities

Sources

Also known as GHSA-p9wx-v264-q34p.

Is CVE-2018-8356 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free