CVE-2013-1875 json
Shell command injection in command_wrap
published 13y ago modified 4mo ago also GHSA-p673-hjf2-pwfr , EUVD-2017-0279
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2013-1875 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.63% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | command_wrap | <=0.6.2 |
no fix listed |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
seclists.org
/fulldisclosure/2013/Mar/175
mailing-list, web
-
packetstormsecurity.com
/files/120847/Ruby-Gem-Command-Wrap-Command-Execution.html
web
-
openwall.com
/lists/oss-security/2013/03/19/9
mailing-list, web
-
osvdb.org
/91450
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2013-1875
advisory
-
github.com
/advisories/GHSA-p673-hjf2-pwfr
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/command_wrap/CVE-2013-1875.yml
web
-
github.com
/slicertje/commandwrap
package
Sources
- CVE List CVE-2013-1875
- GitHub Advisory GHSA-p673-hjf2-pwfr
- NVD CVE-2013-1875
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.