CVE-2017-15695: Geode core Apache Geode Vulnerable To Incorrect Vulnerability

HIGH
Advisory Identifier: GHSA-jmg4-x4vp-6c6x
CVSS 8.8
CWE-863
Published
Advisory Summary

CVE-2017-15695 is a HIGH (CVSS 8.8) apache geode vulnerable to incorrect vulnerability (CWE-863: Incorrect Authorization) affecting Geode core libraries in the Maven ecosystem. The issue involves apache geode vulnerable to incorrect authorization. Remediation is available by upgrading affected packages to version 1.5.0.

CVE-2017-15695 at a Glance

CVE Identifier CVE-2017-15695
GHSA Identifier GHSA-jmg4-x4vp-6c6x
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-863: Incorrect Authorization
Affected Product Geode core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

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

How to Fix CVE-2017-15695

To remediate this vulnerability, upgrade all affected Geode core 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.apache.geode:geode-core fixed: 1.5.0
<dependency>
    <groupId>org.apache.geode</groupId>
    <artifactId>geode-core</artifactId>
    <version>1.5.0</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.apache.geode

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.geode

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

Note: The mvn dependency:tree -Dincludes=org.apache.geode 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Geode core, 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

When an Apache Geode server versions 1.0.0 to 1.4.0 is configured with a security manager, a user with DATA:WRITE privileges is allowed to deploy code by invoking an internal Geode function. This allows remote code execution. Code deployment should be restricted to users with DATA:MANAGE privilege.

CVE-2017-15695 Affected Geode core Versions

1 component(s)
Fixed Versions:
1.5.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.geode:geode-core
Maven
≥ 1.0.0
< 1.5.0
1.5.0

References

Frequently Asked Questions

What is CVE-2017-15695?
CVE-2017-15695 is a security vulnerability in Geode core involving Apache Geode vulnerable to Incorrect Authorization under CWE-863: Incorrect Authorization.
Which Geode core versions are affected?
Affected versions include releases prior to 1.5.0 across affected packages: org.apache.geode:geode-core.
What version fixes CVE-2017-15695?
Upgrading to 1.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is geode-core affected?
Yes, org.apache.geode:geode-core is affected in releases prior to 1.5.0. Upgrade your dependency to 1.5.0 or later.
What is the CVSS score of CVE-2017-15695?
CVE-2017-15695 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-15695?
CVE-2017-15695 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Maven dependencies for CVE-2017-15695?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.geode'. 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-jmg4-x4vp-6c6x",
  "modified" : "2024-04-12T21:13:17Z",
  "published" : "2022-05-13T01:18:20Z",
  "aliases" : [ "CVE-2017-15695" ],
  "summary" : "Apache Geode vulnerable to Incorrect Authorization",
  "details" : "When an Apache Geode server versions 1.0.0 to 1.4.0 is configured with a security manager, a user with DATA:WRITE privileges is allowed to deploy code by invoking an internal Geode function. This allows remote code execution. Code deployment should be restricted to users with DATA:MANAGE privilege.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.geode:geode-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-15695"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/pull/1258"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/00be4f9774e1adf8e7ccc2664da8005fc30bb11d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/49d28f93fd2ef069693ce15d124ef3a29f22fb7d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/6df14c8b1e3c644f9f810149e80bba0c2f073dab"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/740289c61d60256c6270756bc84b9e24b76e4913"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/90f8f6242927c5e16da64f38bba9abf3d450a305"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/954ccb545d24a9c9a35cbd84023a4d7e07032de0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geode/commit/aa469239860778eb46e09dd7b390aee08f152480"
  }, {
    "type" : "WEB",
    "url" : "https://cwiki.apache.org/confluence/display/GEODE/Release+Notes#ReleaseNotes-SecurityVulnerabilities"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/geode"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/GEODE-3974"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/dc8875c0b924885a884eba6d5bd7dc3f123411b2d33cffd00e351c99@%3Cuser.geode.apache.org%3E"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-08T14:16:18Z",
    "nvd_published_at" : "2018-06-13T17:29:00Z"
  }
}