CVE-2015-2179: Xaviershay dm rails Xaviershay-dm-rails Gem For Ruby Exposes Vulnerability

MODERATE
Advisory Identifier: GHSA-88p8-4vv5-82j7
CVSS 5.5
CWE-200
Published
Advisory Summary

CVE-2015-2179 is a MODERATE (CVSS 5.5) xaviershay-dm-rails gem for ruby exposes vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Xaviershay dm rails libraries in the RubyGems ecosystem. The issue involves xaviershay-dm-rails gem for ruby exposes sensitive information via the process table. Remediation is available in the latest vendor maintenance releases.

CVE-2015-2179 at a Glance

CVE Identifier CVE-2015-2179
GHSA Identifier GHSA-88p8-4vv5-82j7
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Xaviershay dm rails
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
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-2015-2179

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

xaviershay-dm-rails fixed: Latest secure release
Upgrade xaviershay-dm-rails to Latest secure release
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 xaviershay-dm-rails

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-2179, inspect your project dependencies for Xaviershay dm rails:

inspect dependencies for xaviershay-dm-rails

Analyze the terminal output to locate any version of Xaviershay dm rails 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: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Xaviershay dm rails, 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

xaviershay-dm-rails Gem for Ruby contains a flaw in the `execute()` function in `/datamapper/dm-rails/blob/master/lib/dm-rails/storage.rb`. The issue is due to the function exposing sensitive information via the process table. This may allow a local attack to gain access to MySQL credential information.

CVE-2015-2179 Affected Xaviershay dm rails Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
xaviershay-dm-rails
RubyGems
≤ 1.2.0

References

Frequently Asked Questions

What is CVE-2015-2179?
CVE-2015-2179 is a security vulnerability in Xaviershay dm rails involving xaviershay-dm-rails Gem for Ruby exposes sensitive information via the process table under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Xaviershay dm rails versions are affected?
Affected versions include releases prior to current release patches across affected packages: xaviershay-dm-rails.
What version fixes CVE-2015-2179?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is xaviershay-dm-rails affected?
Yes, xaviershay-dm-rails is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2015-2179?
CVE-2015-2179 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2015-2179?
CVE-2015-2179 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2015-2179?
Run the dependency tree command: 'inspect dependencies for xaviershay-dm-rails'. 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-88p8-4vv5-82j7",
  "modified" : "2023-12-14T22:26:52Z",
  "published" : "2023-01-26T23:51:40Z",
  "aliases" : [ "CVE-2015-2179" ],
  "summary" : "xaviershay-dm-rails Gem for Ruby exposes sensitive information via the process table",
  "details" : "xaviershay-dm-rails Gem for Ruby contains a flaw in the `execute()` function in `/datamapper/dm-rails/blob/master/lib/dm-rails/storage.rb`. The issue is due to the function exposing sensitive information via the process table. This may allow a local attack to gain access to MySQL credential information.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "xaviershay-dm-rails"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-2179"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/datamapper/dm-rails"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/xaviershay-dm-rails/CVE-2015-2179.yml"
  }, {
    "type" : "WEB",
    "url" : "http://www.vapid.dhs.org/advisory.php?v=115"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-26T23:51:40Z",
    "nvd_published_at" : "2023-12-12T17:15:07Z"
  }
}