{"id":"CVE-2014-5003","aliases":["EUVD-2018-0272","GHSA-g982-9r8g-6qxw"],"status":"published","title":"Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink","description":"chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 for Ruby allows local users to write to arbitrary files and gain privileges via a symlink attack on /tmp/perlbrew-installer.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00379,"percentile":0.32192,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2018-01-10T18:00:00Z","modified":"2026-06-17T00:10:54Z","affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"ciborg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"last_affected":"3.0.0"}]}],"versions":["3.0.0"]},{"source":"osv","ecosystem":"RubyGems","package":"ciborg","versions":["3.0.0"]}],"products":[{"vendor":"ciborg_project","product":"ciborg"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/07/17/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://www.vapid.dhs.org/advisories/ciborg-3.0.0.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2014/07/07/24","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-5003","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g982-9r8g-6qxw","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ciborg/CVE-2014-5003.yml","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2014-5003","description":"chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 for Ruby allows local users to write to arbitrary files and gain privileges via a symlink attack on /tmp/perlbrew-installer.","status":"published","published":"2018-01-10T18:00:00Z","modified":"2024-08-06T11:34:37.461Z","updated_at":"2026-11-02T14:33:41.889751Z"}],"euvd":[{"id":"EUVD-2018-0272","description":"chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 for Ruby allows local users to write to arbitrary files and gain privileges via a symlink attack on /tmp/perlbrew-installer.","status":"published","published":"2018-01-10T18:00:00Z","modified":"2024-08-06T11:34:37Z","updated_at":"2026-11-03T01:57:03.789124Z"}],"ghsa":[{"id":"GHSA-g982-9r8g-6qxw","title":"Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink","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.\n","status":"published","published":"2018-07-23T19:50:15Z","modified":"2023-11-08T05:04:49Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:16.721714Z"}],"nvd":[{"id":"CVE-2014-5003","description":"chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 for Ruby allows local users to write to arbitrary files and gain privileges via a symlink attack on /tmp/perlbrew-installer.","status":"published","published":"2018-01-10T18:29:00.837Z","modified":"2026-06-17T00:10:54.24Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:59.001778Z"}],"osv":[{"id":"GHSA-g982-9r8g-6qxw","title":"Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink","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.\n","status":"published","published":"2018-07-23T19:50:15Z","modified":"2023-11-08T03:57:43.145488Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
