CVE-2013-1875
Shell 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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2013-1875- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-1875- Updated
- 2026-11-02
EUVDEUVD-2017-0279 No score
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.
- Record
EUVD-2017-0279- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p673-hjf2-pwfr No score
Shell 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.
- Record
GHSA-p673-hjf2-pwfr- Weakness
- CWE-94
- Updated
- 2026-11-02
OSVGHSA-p673-hjf2-pwfr No score
Shell 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.
- Record
GHSA-p673-hjf2-pwfr- Weakness
- CWE-94
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
command_wrapRubyGems |
through 0.6.2 | None known |
command_wrapRubyGems |
through 0.6.2, plus listed versions 0.10.20.30.40.5 Show 4 moreShow less0.5.10.5.20.60.6.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-1875 is a high vulnerability (CVSS 7.5) in Rubygems Command Wrap, published March 20, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.63%, the 89th percentile. No source names a fixed version.
References
seclists.org/fulldisclosure/2013/Mar/175
packetstormsecurity.com/files/120847/Ruby-Gem-Command-Wrap-Command-Execution.html
openwall.com/lists/oss-security/2013/03/19/9
osvdb.org/91450
nvd.nist.gov/vuln/detail/CVE-2013-1875
github.com/advisories/GHSA-p673-hjf2-pwfr
github.com/rubysec/ruby-advisory-db/blob/master/gems/command_wrap/CVE-2013-1875.yml
github.com/slicertje/commandwrap