CVE-2019-19135: Sdk client Insufficient Nonce Validation Vulnerability

HIGH
Advisory Identifier: GHSA-pq4w-qm9g-qx68
CVSS 7.4
CWE-522 CWE-330
Published
Advisory Summary

CVE-2019-19135 is a HIGH (CVSS 7.4) insufficient nonce validation vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Sdk client libraries in the Maven ecosystem. The issue involves insufficient nonce validation in eclipse milo client. Remediation is available by upgrading affected packages to version 0.3.6.

CVE-2019-19135 at a Glance

CVE Identifier CVE-2019-19135
GHSA Identifier GHSA-pq4w-qm9g-qx68
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Sdk client
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.4

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2019-19135

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

org.eclipse.milo:sdk-client fixed: 0.3.6
<dependency>
    <groupId>org.eclipse.milo</groupId>
    <artifactId>sdk-client</artifactId>
    <version>0.3.6</version>
</dependency>
Verify Direct and Transitive Dependencies

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

mvn dependency:tree -Dincludes=org.eclipse.milo

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-19135, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.milo

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

Note: The mvn dependency:tree -Dincludes=org.eclipse.milo command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Sdk client, 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

### Impact Credential replay affecting those connected to a server when *all 3* of the following conditions are met: - `SecurityPolicy` is `None` - using username/password or X509-based authentication - the server has a defect causing it to send null/empty or zeroed nonces ### Patches The problem has been patched in version `0.3.6`. A more relaxed treatment of validation as agreed upon by the OPC UA Security Working Group is implemented in version `0.3.7`. ### Workarounds Do not use username/password or X509-based authentication with `SecurityPolicy` of `None`. ### References https://opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2019-19135.pdf ### For more information If you have any questions or comments about this advisory: * Open an issue at [https://github.com/eclipse/milo/issues](https://github.com/eclipse/milo/issues) * Email [the mailing list](mailto:milo-dev@eclipse.org)

CVE-2019-19135 Affected Sdk client Versions

1 component(s)
Fixed Versions:
0.3.6
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.milo:sdk-client
Maven
< 0.3.6
0.3.6

References

Frequently Asked Questions

What is CVE-2019-19135?
CVE-2019-19135 is a security vulnerability in Sdk client involving Insufficient Nonce Validation in Eclipse Milo Client under CWE-522: Insufficiently Protected Credentials.
Which Sdk client versions are affected?
Affected versions include releases prior to 0.3.6 across affected packages: org.eclipse.milo:sdk-client.
What version fixes CVE-2019-19135?
Upgrading to 0.3.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sdk-client affected?
Yes, org.eclipse.milo:sdk-client is affected in releases prior to 0.3.6. Upgrade your dependency to 0.3.6 or later.
What is the CVSS score of CVE-2019-19135?
CVE-2019-19135 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2019-19135?
CVE-2019-19135 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Maven dependencies for CVE-2019-19135?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.milo'. 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-pq4w-qm9g-qx68",
  "modified" : "2021-07-28T18:54:53Z",
  "published" : "2020-03-16T22:46:50Z",
  "aliases" : [ "CVE-2019-19135" ],
  "summary" : "Insufficient Nonce Validation in Eclipse Milo Client",
  "details" : "### Impact\nCredential replay affecting those connected to a server when *all 3* of the following conditions are met:\n- `SecurityPolicy` is `None`\n- using username/password or X509-based authentication\n- the server has a defect causing it to send null/empty or zeroed nonces \n\n### Patches\nThe problem has been patched in version `0.3.6`. A more relaxed treatment of validation as agreed upon by the OPC UA Security Working Group is implemented in version `0.3.7`.\n\n### Workarounds\nDo not use username/password or X509-based authentication with `SecurityPolicy` of `None`.\n\n### References\nhttps://opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2019-19135.pdf\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue at [https://github.com/eclipse/milo/issues](https://github.com/eclipse/milo/issues)\n* Email [the mailing list](mailto:milo-dev@eclipse.org)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.milo:sdk-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.3.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.3.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/eclipse/milo/security/advisories/GHSA-pq4w-qm9g-qx68"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-19135"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse/milo/commit/cac0e710bf2b8bed9c602fc597e9de1d8903abed"
  }, {
    "type" : "WEB",
    "url" : "https://opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2019-19135.pdf"
  }, {
    "type" : "WEB",
    "url" : "https://opcfoundation.org/security-bulletins"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-330", "CWE-522" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-03-16T20:59:53Z",
    "nvd_published_at" : "2020-03-16T16:15:00Z"
  }
}