{"id":"GHSA-g982-9r8g-6qxw","summary":"Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink","details":"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.\n","aliases":["CVE-2014-5003"],"modified":"2023-11-08T03:57:43.145488Z","published":"2018-07-23T19:50:15Z","database_specific":{"github_reviewed_at":"2020-06-16T21:36:44Z","nvd_published_at":"2018-01-10T18:29:00Z","cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-5003"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g982-9r8g-6qxw"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ciborg/CVE-2014-5003.yml"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/07/07/24"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/07/17/5"},{"type":"WEB","url":"http://www.vapid.dhs.org/advisories/ciborg-3.0.0.html"}],"affected":[{"package":{"name":"ciborg","ecosystem":"RubyGems","purl":"pkg:gem/ciborg"},"versions":["3.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-g982-9r8g-6qxw/GHSA-g982-9r8g-6qxw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}