Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. VladTheEnterprising
  4. ›
  5. CVE-2014-4995

CVE-2014-4995: Command injection vulnerability

January 10, 2018 (updated January 30, 2018)

VladTheEnterprising Gem for Ruby contains a flaw as the program creates temporary files insecurely. It is possible for a local attacker to use a symlink attack against the /tmp/my.cnf.#{target_host} file they can overwrite arbitrary files, gain access to the MySQL root password, or inject arbitrary commands.

References

  • www.vapid.dhs.org/advisories/VladTheEnterprising-0.2.html

Code Behaviors & Features

Detect and mitigate CVE-2014-4995 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 0.2

Solution

There is no solution for this vulnerability at the moment.

Impact 7 HIGH

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

gem/VladTheEnterprising/CVE-2014-4995.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.