CVE-2019-13574Minimagick Project Minimagick
High 7.8
Follow: this CVE · Minimagick Project · Minimagick Project Minimagick We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 3.0
- 7.8
- EPSS
- 7.6% probability of exploitation in 30 days · percentile 95
- Auth required
- Yes
- Published
- Jul 12, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because Image.open input is directly passed to Kernel#open, which accepts a '|' character followed by a command.
What to do
- Apply the vendor's security update for Minimagick.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | mini_magick |
< 4.9.4 |
4.9.4 |
gem "mini_magick", ">= 4.9.4" |
Per OSV / GitHub Advisories (GHSA-r7j3-vvh2-xrpj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| minimagick_project | minimagick | < 4.9.4 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- benjamin-bouchet.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- lists.debian.org
- seclists.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory