CVE-2018-12087: OPCFoundation.NetStandard.Opc.Ua Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Advisory Identifier: GHSA-8336-mxp6-v5h9
CVSS 5.3
CWE-295
Published
Advisory Summary

CVE-2018-12087 is a MODERATE (CVSS 5.3) moderate severity vulnerability that affects vulnerability (CWE-295: Improper Certificate Validation) affecting OPCFoundation.NetStandard.Opc.Ua libraries in the NuGet ecosystem. The issue involves moderate severity vulnerability that affects opcfoundation.netstandard.opc.ua. Remediation is available by upgrading affected packages to version 1.4.353.15.

CVE-2018-12087 at a Glance

CVE Identifier CVE-2018-12087
GHSA Identifier GHSA-8336-mxp6-v5h9
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-295: Improper Certificate Validation
Affected Product OPCFoundation.NetStandard.Opc.Ua
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Physical (AV:P)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2018-12087

To remediate this vulnerability, upgrade all affected OPCFoundation.NetStandard.Opc.Ua dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

OPCFoundation.NetStandard.Opc.Ua fixed: 1.4.353.15
Upgrade OPCFoundation.NetStandard.Opc.Ua to 1.4.353.15
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for OPCFoundation.NetStandard.Opc.Ua

How to Check if You Are Affected

To determine whether your application is affected by CVE-2018-12087, inspect your project dependencies for OPCFoundation.NetStandard.Opc.Ua:

inspect dependencies for OPCFoundation.NetStandard.Opc.Ua

Analyze the terminal output to locate any version of OPCFoundation.NetStandard.Opc.Ua in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.353.15), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In OPCFoundation.NetStandard.Opc.Ua, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Failure to validate certificates in OPC Foundation UA Client Applications communicating without security allows attackers with control over a piece of network infrastructure to decrypt passwords.

CVE-2018-12087 Affected OPCFoundation.NetStandard.Opc.Ua Versions

1 component(s)
Fixed Versions:
1.4.353.15
Product / Package Ecosystem Affected Versions Fixed Version
OPCFoundation.NetStandard.Opc.Ua
NuGet
< 1.4.353.15
1.4.353.15

References

Frequently Asked Questions

What is CVE-2018-12087?
CVE-2018-12087 is a security vulnerability in OPCFoundation.NetStandard.Opc.Ua involving Moderate severity vulnerability that affects OPCFoundation.NetStandard.Opc.Ua under CWE-295: Improper Certificate Validation.
Which OPCFoundation.NetStandard.Opc.Ua versions are affected?
Affected versions include releases prior to 1.4.353.15 across affected packages: OPCFoundation.NetStandard.Opc.Ua.
What version fixes CVE-2018-12087?
Upgrading to 1.4.353.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is OPCFoundation.NetStandard.Opc.Ua affected?
Yes, OPCFoundation.NetStandard.Opc.Ua is affected in releases prior to 1.4.353.15. Upgrade your dependency to 1.4.353.15 or later.
What is the CVSS score of CVE-2018-12087?
CVE-2018-12087 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2018-12087?
CVE-2018-12087 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check NuGet dependencies for CVE-2018-12087?
Run the dependency tree command: 'inspect dependencies for OPCFoundation.NetStandard.Opc.Ua'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8336-mxp6-v5h9",
  "modified" : "2021-06-11T15:34:21Z",
  "published" : "2018-10-16T19:51:18Z",
  "aliases" : [ "CVE-2018-12087" ],
  "summary" : "Moderate severity vulnerability that affects OPCFoundation.NetStandard.Opc.Ua",
  "details" : "Failure to validate certificates in OPC Foundation UA Client Applications communicating without security allows attackers with control over a piece of network infrastructure to decrypt passwords.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OPCFoundation.NetStandard.Opc.Ua"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.353.15"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.4.352.12"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-12087"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-8336-mxp6-v5h9"
  }, {
    "type" : "WEB",
    "url" : "https://opcfoundation-onlineapplications.org/faq/SecurityBulletins/OPC_Foundation_Security_Bulletin_CVE-2018-12087.pdf"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:24:04Z",
    "nvd_published_at" : null
  }
}