CVE-2018-0495: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-q2v2-pgm4-m8c8
CVSS 4.7
CWE-203
Published
Advisory Summary

CVE-2018-0495 is a MODERATE (CVSS 4.7) security vulnerability vulnerability (CWE-203: Observable Discrepancy) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.. Remediation is available in the latest vendor maintenance releases.

CVE-2018-0495 at a Glance

CVE Identifier CVE-2018-0495
GHSA Identifier GHSA-q2v2-pgm4-m8c8
Severity MODERATE
CVSS v3.1 Base Score 4.7
CWE Classification CWE-203: Observable Discrepancy
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.7

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

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

How to Fix CVE-2018-0495

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

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

How to Check if You Are Affected

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

mvn dependency:tree

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

Note: The mvn dependency:tree 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-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Software, 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

Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be mitigated through the use of blinding during the signing process in the _gcry_ecc_ecdsa_sign function in cipher/ecc-ecdsa.c, aka the Return Of the Hidden Number Problem or ROHNP. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.

References

NVD — CVE-2018-0495 NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-0495
Software Security Information SECURITY
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
www.nccgroup.trust/us/our-research/tec... WEB
https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem
Software Security Information SECURITY
https://www.debian.org/security/2018/dsa-4231
usn.ubuntu.com/3850-2 WEB
https://usn.ubuntu.com/3850-2
usn.ubuntu.com/3850-1 WEB
https://usn.ubuntu.com/3850-1
usn.ubuntu.com/3692-2 WEB
https://usn.ubuntu.com/3692-2
usn.ubuntu.com/3692-1 WEB
https://usn.ubuntu.com/3692-1
usn.ubuntu.com/3689-2 WEB
https://usn.ubuntu.com/3689-2
usn.ubuntu.com/3689-1 WEB
https://usn.ubuntu.com/3689-1
lists.gnupg.org/pipermail/gnupg-ann... WEB
https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html
git.gnupg.org/cgi-bin/gitweb.cgi WEB
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=9010d1576e278a4274ad3f4aa15776c28f6ba965
git.gnupg.org/cgi-bin/gitweb.cgi WEB
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965
dev.gnupg.org/t4011 WEB
https://dev.gnupg.org/T4011
cert-portal.siemens.com/productcert/html/ss... WEB
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
access.redhat.com/errata/rhsa-2019:22... WEB
https://access.redhat.com/errata/RHSA-2019:2237
access.redhat.com/errata/rhsa-2019:15... WEB
https://access.redhat.com/errata/RHSA-2019:1543
access.redhat.com/errata/rhsa-2019:12... WEB
https://access.redhat.com/errata/RHSA-2019:1297
access.redhat.com/errata/rhsa-2019:12... WEB
https://access.redhat.com/errata/RHSA-2019:1296
access.redhat.com/errata/rhsa-2018:35... WEB
https://access.redhat.com/errata/RHSA-2018:3505
access.redhat.com/errata/rhsa-2018:32... WEB
https://access.redhat.com/errata/RHSA-2018:3221
Software Security Information SECURITY
http://www.securitytracker.com/id/1041144
Software Security Information SECURITY
http://www.securitytracker.com/id/1041147

Frequently Asked Questions

What is CVE-2018-0495?
CVE-2018-0495 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-203: Observable Discrepancy.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2018-0495?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2018-0495?
CVE-2018-0495 has a CVSS v3.1 base score of 4.7 (MODERATE) with vector string CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2018-0495?
CVE-2018-0495 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check Maven dependencies for CVE-2018-0495?
Run the dependency tree command: 'mvn dependency:tree'. 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-q2v2-pgm4-m8c8",
  "modified" : "2026-10-14T09:31:16Z",
  "published" : "2022-05-13T01:18:24Z",
  "aliases" : [ "CVE-2018-0495" ],
  "details" : "Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be mitigated through the use of blinding during the signing process in the _gcry_ecc_ecdsa_sign function in cipher/ecc-ecdsa.c, aka the Return Of the Hidden Number Problem or ROHNP. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-0495"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2018/dsa-4231"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/3850-2"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/3850-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/3692-2"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/3692-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/3689-2"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/3689-1"
  }, {
    "type" : "WEB",
    "url" : "https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2018/06/msg00013.html"
  }, {
    "type" : "WEB",
    "url" : "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=9010d1576e278a4274ad3f4aa15776c28f6ba965"
  }, {
    "type" : "WEB",
    "url" : "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=9010d1576e278a4274ad3f4aa15776c28f6ba965"
  }, {
    "type" : "WEB",
    "url" : "https://dev.gnupg.org/T4011"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-398330.html"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2237"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:1543"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:1297"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:1296"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:3505"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:3221"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1041144"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1041147"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-203" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2018-06-13T23:29:00Z"
  }
}