{"id":"CVE-2013-2617","aliases":["EUVD-2017-0255","GHSA-hxx6-p24v-wg8c"],"status":"published","title":"Curl Gem insufficient URL escaping command injection","description":"lib/curl.rb in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0442,"percentile":0.91422,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2013-03-20T22:00:00Z","modified":"2026-06-16T23:53:43Z","affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.9"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.9"}]}],"versions":["0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9"]}],"products":[{"vendor":"curl_project","product":"curl"}],"references":[{"url":"http://packetstormsecurity.com/files/120778/Ruby-Gem-Curl-Command-Execution.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"http://www.osvdb.org/91230","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"http://www.openwall.com/lists/oss-security/2013/03/19/9","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2013/Mar/124","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2617","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/curl/CVE-2013-2617.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hxx6-p24v-wg8c"},{"url":"https://github.com/tggo/curl","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-2617","description":"lib/curl.rb in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.","status":"published","published":"2013-03-20T22:00:00Z","modified":"2024-09-16T19:35:48.961Z","updated_at":"2026-11-02T14:34:56.19172Z"}],"euvd":[{"id":"EUVD-2017-0255","description":"lib/curl.rb in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.","status":"published","published":"2013-03-20T22:00:00Z","modified":"2024-09-16T19:35:48Z","updated_at":"2026-11-03T00:55:21.946733Z"}],"ghsa":[{"id":"GHSA-hxx6-p24v-wg8c","title":"Curl Gem insufficient URL escaping command injection","description":"`lib/curl.rb` in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-08-29T10:57:51Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:01.345964Z"}],"nvd":[{"id":"CVE-2013-2617","description":"lib/curl.rb in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.","status":"published","published":"2013-03-20T22:55:01.057Z","modified":"2026-06-16T23:53:43.04Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"GHSA-hxx6-p24v-wg8c","title":"Curl Gem insufficient URL escaping command injection","description":"`lib/curl.rb` in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-12-05T05:39:00.179456Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:49.621585Z"}]}}
