CVE-2015-2913: Orientdb server OrientDB Server Community Edition Uses Vulnerability

MODERATE
Advisory Identifier: GHSA-v6wr-fch2-vm5w
CVSS 5.9
CWE-330
Published
Advisory Summary

CVE-2015-2913 is a MODERATE (CVSS 5.9) orientdb server community edition uses vulnerability (CWE-330: Use of Insufficiently Random Values) affecting Orientdb server libraries in the Maven ecosystem. The issue involves orientdb server community edition uses insufficiently random values to generate session ids. Remediation is available by upgrading affected packages to version 2.0.15, 2.1.1.

CVE-2015-2913 at a Glance

CVE Identifier CVE-2015-2913
GHSA Identifier GHSA-v6wr-fch2-vm5w
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-330: Use of Insufficiently Random Values
Affected Product Orientdb server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/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 None (I:N)
Availability None (A:N)

How to Fix CVE-2015-2913

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

com.orientechnologies:orientdb-server fixed: 2.0.15
<dependency>
    <groupId>com.orientechnologies</groupId>
    <artifactId>orientdb-server</artifactId>
    <version>2.0.15</version>
</dependency>
com.orientechnologies:orientdb-server fixed: 2.1.1
<dependency>
    <groupId>com.orientechnologies</groupId>
    <artifactId>orientdb-server</artifactId>
    <version>2.1.1</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=com.orientechnologies

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.orientechnologies

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

Note: The mvn dependency:tree -Dincludes=com.orientechnologies 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-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. In Orientdb server, 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

OrientDB Server Community Edition before 2.0.15 and 2.1.x before 2.1.1 improperly relies on the `java.util.Random` class for generation of random Session ID values in the `server/network/protocol/http/OHttpSessionManager.java`, which makes it easier for remote attackers to predict a value by determining the internal state of the PRNG in this class.

CVE-2015-2913 Affected Orientdb server Versions

2 component(s)
Fixed Versions:
2.0.152.1.1
Product / Package Ecosystem Affected Versions Fixed Version
com.orientechnologies:orientdb-server
Maven
< 2.0.15
2.0.15
com.orientechnologies:orientdb-server
Maven
≥ 2.1.0
< 2.1.1
All 1 versions
2.1.0
2.1.1

References

Frequently Asked Questions

What is CVE-2015-2913?
CVE-2015-2913 is a security vulnerability in Orientdb server involving OrientDB Server Community Edition uses insufficiently random values to generate session IDs under CWE-330: Use of Insufficiently Random Values.
Which Orientdb server versions are affected?
Affected versions include releases prior to 2.0.15, 2.1.1 across affected packages: com.orientechnologies:orientdb-server.
What version fixes CVE-2015-2913?
Upgrading to 2.0.15, 2.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is orientdb-server affected?
Yes, com.orientechnologies:orientdb-server is affected in releases prior to 2.0.15, 2.1.1. Upgrade your dependency to 2.0.15, 2.1.1 or later.
What is the CVSS score of CVE-2015-2913?
CVE-2015-2913 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2015-2913?
CVE-2015-2913 is classified under CWE-330: Use of Insufficiently Random Values (The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.).
How can I check Maven dependencies for CVE-2015-2913?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.orientechnologies'. 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-v6wr-fch2-vm5w",
  "modified" : "2023-09-12T14:43:49Z",
  "published" : "2018-10-18T17:41:27Z",
  "aliases" : [ "CVE-2015-2913" ],
  "summary" : "OrientDB Server Community Edition uses insufficiently random values to generate session IDs",
  "details" : "OrientDB Server Community Edition before 2.0.15 and 2.1.x before 2.1.1 improperly relies on the `java.util.Random` class for generation of random Session ID values in the `server/network/protocol/http/OHttpSessionManager.java`, which makes it easier for remote attackers to predict a value by determining the internal state of the PRNG in this class.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.orientechnologies:orientdb-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.orientechnologies:orientdb-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.1"
      } ]
    } ],
    "versions" : [ "2.1.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-2913"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/orientechnologies/orientdb/commit/668ece96be210e742a4e2820a3085b215cf55104"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-v6wr-fch2-vm5w"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/orientechnologies/orientdb"
  }, {
    "type" : "WEB",
    "url" : "https://www.kb.cert.org/vuls/id/845332"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-330" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:57:02Z",
    "nvd_published_at" : null
  }
}