Loading...
Skip to main content

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

HIGH

Improper Certificate Validation in Microsoft .NET Framework components

Published October 16, 2018Updated November 8, 2023Source: osv

Summary

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."

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.

NuGet
Update System.ServiceModel.Duplex to 4.0.2 or later
dotnet add package System.ServiceModel.Duplex --version 4.0.2
NuGet
Update Microsoft.NETCore.UniversalWindowsPlatform to 5.3.5 or later
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 5.3.5
NuGet
Update System.ServiceModel.Primitives to 4.4.1 or later
dotnet add package System.ServiceModel.Primitives --version 4.4.1
NuGet
Update System.ServiceModel.Security to 4.3.1 or later
dotnet add package System.ServiceModel.Security --version 4.3.1
NuGet
Update System.ServiceModel.Primitives to 4.1.1 or later
dotnet add package System.ServiceModel.Primitives --version 4.1.1
NuGet
Update Microsoft.NETCore.UniversalWindowsPlatform to 5.2.4 or later
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 5.2.4
NuGet
Update System.ServiceModel.Duplex to 4.4.1 or later
dotnet add package System.ServiceModel.Duplex --version 4.4.1
NuGet
Update System.ServiceModel.Primitives to 4.3.1 or later
dotnet add package System.ServiceModel.Primitives --version 4.3.1
NuGet
Update System.ServiceModel.Http to 4.1.1 or later
dotnet add package System.ServiceModel.Http --version 4.1.1
NuGet
Update System.ServiceModel.Security to 4.0.2 or later
dotnet add package System.ServiceModel.Security --version 4.0.2
NuGet
Update System.Private.ServiceModel to 4.4.1 or later
dotnet add package System.Private.ServiceModel --version 4.4.1
NuGet
Update System.ServiceModel.Http to 4.4.1 or later
dotnet add package System.ServiceModel.Http --version 4.4.1
NuGet
Update System.Private.ServiceModel to 4.1.1 or later
dotnet add package System.Private.ServiceModel --version 4.1.1
NuGet
Update Microsoft.NETCore.UniversalWindowsPlatform to 5.4.2 or later
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 5.4.2
NuGet
Update Microsoft.NETCore.UniversalWindowsPlatform to 6.0.6 or later
dotnet add package Microsoft.NETCore.UniversalWindowsPlatform --version 6.0.6
NuGet
Update System.ServiceModel.Security to 4.4.1 or later
dotnet add package System.ServiceModel.Security --version 4.4.1
NuGet
Update System.ServiceModel.NetTcp to 4.4.1 or later
dotnet add package System.ServiceModel.NetTcp --version 4.4.1
NuGet
Update System.ServiceModel.Duplex to 4.3.1 or later
dotnet add package System.ServiceModel.Duplex --version 4.3.1
NuGet
Update System.ServiceModel.NetTcp to 4.3.1 or later
dotnet add package System.ServiceModel.NetTcp --version 4.3.1
NuGet
Update System.ServiceModel.NetTcp to 4.1.1 or later
dotnet add package System.ServiceModel.NetTcp --version 4.1.1
NuGet
Update System.ServiceModel.Http to 4.3.1 or later
dotnet add package System.ServiceModel.Http --version 4.3.1
NuGet
Update System.Private.ServiceModel to 4.3.1 or later
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).

PackageEcosystemAffectedFixed In
System.ServiceModel.Duplex
nuget
4.0.14.0.2
Microsoft.NETCore.UniversalWindowsPlatform
nuget
5.3.0, 5.3.1, 5.3.2, 5.3.3 (+1 more)5.3.5
System.ServiceModel.Primitives
nuget
4.4.0, 4.4.1-servicing-25917-014.4.1
System.ServiceModel.Security
nuget
4.3.04.3.1
System.ServiceModel.Primitives
nuget
4.1.04.1.1
Microsoft.NETCore.UniversalWindowsPlatform
nuget
5.2.0, 5.2.1, 5.2.2, 5.2.35.2.4
System.ServiceModel.Duplex
nuget
4.4.04.4.1
System.ServiceModel.Primitives
nuget
4.3.04.3.1
System.ServiceModel.Http
nuget
4.1.04.1.1
System.ServiceModel.Security
nuget
4.0.14.0.2
System.Private.ServiceModel
nuget
4.4.04.4.1
System.ServiceModel.Http
nuget
4.4.04.4.1
System.Private.ServiceModel
nuget
4.1.04.1.1
Microsoft.NETCore.UniversalWindowsPlatform
nuget
5.4.0, 5.4.15.4.2
Microsoft.NETCore.UniversalWindowsPlatform
nuget
6.0.1, 6.0.2, 6.0.4, 6.0.56.0.6
System.ServiceModel.Security
nuget
4.4.04.4.1
System.ServiceModel.NetTcp
nuget
4.4.04.4.1
System.ServiceModel.Duplex
nuget
4.3.04.3.1
System.ServiceModel.NetTcp
nuget
4.3.04.3.1
System.ServiceModel.NetTcp
nuget
4.1.04.1.1
System.ServiceModel.Http
nuget
4.3.04.3.1
System.Private.ServiceModel
nuget
4.3.04.3.1

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) 7.5 score means for each attack dimension.

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

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

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

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-jc8g-xhw5-6x46

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies