Race condition in lib/vlad/dba/mysql.rb
in the VladTheEnterprising gem 0.2 for Ruby allows local users to obtain sensitive information by reading the MySQL root password from a temporary file before it is removed.
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-4995
- https://exchange.xforce.ibmcloud.com/vulnerabilities/94745
- http://www.openwall.com/lists/oss-security/2014/07/07/14
- http://www.openwall.com/lists/oss-security/2014/07/17/5
- http://www.vapid.dhs.org/advisories/VladTheEnterprising-0.2.html
- https://web.archive.org/web/20200229054941/http://www.securityfocus.com/bid/68729
- https://github.com/advisories/GHSA-86cf-g34f-7462