CVE-2015-2179
Ruby vulnerability analysis and mitigation

Overview

The xaviershay-dm-rails gem version 0.10.3.8 for Ruby contains a security vulnerability that allows local users to discover MySQL credentials. The vulnerability was discovered by Larry W. Cashdollar and was assigned CVE-2015-2179. The issue was reported to the vendor on February 17, 2015 (Vapid Advisory).

Technical details

The vulnerability exists in the execute function within /datamapper/dm-rails/blob/master/lib/dm-rails/storage.rb (lines 169-177). The function exposes user credentials to the process table when executing MySQL statements by passing username and password as command-line arguments. This implementation allows the credentials to be visible in process listings (Vapid Advisory). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) (NVD).

Impact

The vulnerability allows local users to discover MySQL database credentials by listing process information and its arguments. This exposure of sensitive authentication information could potentially lead to unauthorized database access (Vapid Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management