Affected versions
RubyGemsciborg
- Affected versions
- = 3.0.0
- Fixed version
- Not reported
Exploitation
Description
There is a /tmp file race condition in chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 when creating /tmp/perlbrew-installer. If a malicious local user creates the file first they can overwrite the contents with their own code executing it as the ciborg process owner.
Links
- http://www.openwall.com/lists/oss-security/2014/07/07/24
- http://www.openwall.com/lists/oss-security/2014/07/17/5
- http://www.vapid.dhs.org/advisories/ciborg-3.0.0.html
- https://github.com/advisories/GHSA-g982-9r8g-6qxw
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ciborg/CVE-2014-5003.yml
- https://nvd.nist.gov/vuln/detail/CVE-2014-5003

