CVE-2013-1875
HIGH 7.5CVSS 2.0Shell command injection in command_wrap
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.
- Published
- 20 Mar 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-p673-hjf2-pwfr
- Sources
- NVDJSONOSV GHSA-p673-hjf2-pwfrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubygems | command_wrapcpe:2.3:a:rubygems:command_wrap:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | RubyGems | command_wrap | <= 0.6.2 |
References
- http://packetstormsecurity.com/files/120847/Ruby-Gem-Command-Wrap-Command-Execution.html · WEB
- http://seclists.org/fulldisclosure/2013/Mar/175 · WEB
- http://www.openwall.com/lists/oss-security/2013/03/19/9 · WEB
- http://www.osvdb.org/91450
- https://nvd.nist.gov/vuln/detail/CVE-2013-1875 · ADVISORY
- https://github.com/advisories/GHSA-p673-hjf2-pwfr · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/command_wrap/CVE-2013-1875.yml · WEB
- https://github.com/slicertje/commandwrap · PACKAGE
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 20 Mar 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)