{"id":"CVE-2013-4457","aliases":["EUVD-2017-0211","GHSA-c43v-hrmg-56r4"],"status":"published","title":"Cocaine Gem OS Command Injection vulnerability","description":"The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01997,"percentile":0.80867,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2013-11-02T18:00:00Z","modified":"2026-06-16T23:57:15Z","fixes":[{"ecosystem":"RubyGems","package":"cocaine","fixed_in":["0.5.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"cocaine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"0.5.3"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"cocaine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"0.5.3"}]}],"versions":["0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.5.2"]}],"products":[{"vendor":"thoughtbot","product":"cocaine"}],"references":[{"url":"https://github.com/thoughtbot/cocaine/blob/master/NEWS.md","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://osvdb.org/98835","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2013/10/22/10","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/55365","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4457","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c43v-hrmg-56r4"},{"url":"https://github.com/thoughtbot/cocaine","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-4457","description":"The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.","status":"published","published":"2013-11-02T18:00:00Z","modified":"2024-09-16T16:17:32.551Z","updated_at":"2026-11-02T14:34:57.499208Z"}],"euvd":[{"id":"EUVD-2017-0211","description":"The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.","status":"published","published":"2013-11-02T18:00:00Z","modified":"2024-09-16T16:17:32Z","updated_at":"2026-11-03T00:55:53.554412Z"}],"ghsa":[{"id":"GHSA-c43v-hrmg-56r4","title":"Cocaine Gem OS Command Injection vulnerability","description":"The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-11-04T05:02:11Z","cwes":["CWE-78"],"updated_at":"2026-11-02T14:37:12.407027Z"}],"nvd":[{"id":"CVE-2013-4457","description":"The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.","status":"published","published":"2013-11-02T18:55:03.203Z","modified":"2026-06-16T23:57:15.733Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:02:40.988689Z"}],"osv":[{"id":"GHSA-c43v-hrmg-56r4","title":"Cocaine Gem OS Command Injection vulnerability","description":"The Cocaine gem 0.4.0 through 0.5.2 for Ruby allows context-dependent attackers to execute arbitrary commands via a crafted has object, related to recursive variable interpolation.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-12-03T06:08:14.516736Z","cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:44.571161Z"}]}}
