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

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

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (24)

Affects 1 ecosystem: nuget (6).

PackageEcosystemAffectedFixed In
System.ServiceModel.Http
nuget
4.4.0, 4.4.1, 4.4.2, 4.4.34.4.4
System.ServiceModel.NetTcp
nuget
4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Primitives
nuget
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
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
4.4.0, 4.4.1, 4.4.2, 4.4.34.4.4
System.ServiceModel.Http
nuget
4.3.0, 4.3.1, 4.3.24.3.3
System.ServiceModel.Http
nuget
4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Security
nuget
4.0.0, 4.0.1, 4.0.1-beta-23225, 4.0.1-beta-23409 (+4 more)4.0.4
System.ServiceModel.NetTcp
nuget
4.3.0, 4.3.1, 4.3.24.3.3
System.ServiceModel.Duplex
nuget
4.3.0, 4.3.1, 4.3.24.3.3
System.ServiceModel.Primitives
nuget
4.4.0, 4.4.1, 4.4.1-servicing-25917-01, 4.4.2 (+1 more)4.4.4
System.ServiceModel.Primitives
nuget
4.3.0, 4.3.1, 4.3.24.3.3
System.Private.ServiceModel
nuget
4.0.0, 4.0.1-beta-23225, 4.0.1-beta-23409, 4.1.0 (+4 more)4.1.3
System.ServiceModel.Http
nuget
4.0.0, 4.0.10, 4.0.10-beta-22605, 4.0.10-beta-22816 (+9 more)4.1.3
System.ServiceModel.Duplex
nuget
4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Security
nuget
4.5.0, 4.5.1, 4.5.24.5.3
System.Private.ServiceModel
nuget
4.5.0, 4.5.1, 4.5.24.5.3
System.ServiceModel.Duplex
nuget
4.4.0, 4.4.1, 4.4.2, 4.4.34.4.4
System.ServiceModel.Duplex
nuget
4.0.0, 4.0.1, 4.0.1-beta-23225, 4.0.1-beta-23409 (+4 more)4.0.4
System.Private.ServiceModel
nuget
4.4.0, 4.4.1, 4.4.2, 4.4.34.4.4
System.ServiceModel.Primitives
nuget
4.5.0, 4.5.1, 4.5.24.5.3
System.Private.ServiceModel
nuget
4.3.0, 4.3.1, 4.3.24.3.3
System.ServiceModel.Security
nuget
4.4.0, 4.4.1, 4.4.2, 4.4.34.4.4
System.ServiceModel.Security
nuget
4.3.0, 4.3.1, 4.3.24.3.3

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.Http, System.ServiceModel.NetTcp and System.ServiceModel.Primitives (and 3 more). 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 has limited impact. Remediate within weeks.

Also Known As

GHSA-p9wx-v264-q34p

Related CVEs

  • CVE-2018-0786
    HIGH

    Improper Certificate Validation in Microsoft .NET Framework components

  • CVE-2026-106111
    MEDIUM

    ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate

  • CVE-2026-65829
    MEDIUM

    MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers

Check if you're affected

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

Scan Your Dependencies