{"id":"CVE-2013-1875","aliases":["EUVD-2017-0279","GHSA-p673-hjf2-pwfr"],"status":"published","title":"Shell command injection in command_wrap","description":"command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.","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-07","score":0.03633,"percentile":0.89612,"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:52:17Z","affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"command_wrap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.6.2"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"command_wrap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.6.2"}]}],"versions":["0.1","0.2","0.3","0.4","0.5","0.5.1","0.5.2","0.6","0.6.1","0.6.2"]}],"products":[{"vendor":"rubygems","product":"command_wrap"}],"references":[{"url":"http://seclists.org/fulldisclosure/2013/Mar/175","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/120847/Ruby-Gem-Command-Wrap-Command-Execution.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/03/19/9","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.osvdb.org/91450","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1875","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-p673-hjf2-pwfr","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/command_wrap/CVE-2013-1875.yml","tags":["web"]},{"url":"https://github.com/slicertje/commandwrap","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-1875","description":"command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.","status":"published","published":"2013-03-20T22:00:00Z","modified":"2024-09-16T16:28:39.743Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2017-0279","description":"command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.","status":"published","published":"2013-03-20T22:00:00Z","modified":"2024-09-16T16:28:39Z","updated_at":"2026-11-03T00:55:51.136895Z"}],"ghsa":[{"id":"GHSA-p673-hjf2-pwfr","title":"Shell command injection in command_wrap","description":"command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-11-06T05:04:32Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:14.234712Z"}],"nvd":[{"id":"CVE-2013-1875","description":"command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.","status":"published","published":"2013-03-20T22:55:00.977Z","modified":"2026-06-16T23:52:17.523Z","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-p673-hjf2-pwfr","title":"Shell command injection in command_wrap","description":"command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-12-06T05:47:42.676945Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:52.891208Z"}]}}
