CVE-2015-2179: Xaviershay dm rails Xaviershay-dm-rails Gem For Ruby Exposes Vulnerability
MODERATECVE-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
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).
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.
Upgrade xaviershay-dm-rails to Latest secure release
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
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?
Which Xaviershay dm rails versions are affected?
What version fixes CVE-2015-2179?
Is xaviershay-dm-rails affected?
What is the CVSS score of CVE-2015-2179?
What CWE is associated with CVE-2015-2179?
How can I check RubyGems dependencies for CVE-2015-2179?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}