CVE-2013-1875Rubygems Command Wrap
High 7.5 No auth needed
Follow: this CVE · Rubygems · Rubygems Command Wrap We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Mar 20, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Command Wrap.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | command_wrap |
≤ 0.6.2 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-p673-hjf2-pwfr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubygems | command_wrap | all |
Official sources
References
Links published by the sources. Open them with care.