CVE-2019-13574
publishedrubygem-mini_magick: fetching remote image filename leds to remote command execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | ruby-mini-magick | Advisory build | 4.9.2-1+deb10u1 | DSA-4481-1 |
| Ubuntu | bionic | ruby-mini-magick | Advisory build | 4.8.0-2ubuntu0.1~esm1 | USN-9149-1 |
| Debian | jessie | ruby-mini-magick | Advisory build | 3.8.1-1+deb8u1 | DLA-1948-1 |
| Debian | stretch | ruby-mini-magick | Advisory build | 4.5.1-1+deb9u1 | DSA-4481-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851
- https://github.com/minimagick/minimagick/compare/d484786...293f9bb
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4
- [debian-lts-announce] 20191007 [SECURITY] [DLA 1948-1] ruby-mini-magick security update https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html
- 20190715 [SECURITY] [DSA 4481-1] ruby-mini-magick security update https://seclists.org/bugtraq/2019/Jul/20
- DSA-4481 https://www.debian.org/security/2019/dsa-4481
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc829d1126500f7d54c4ad3db29b235cfefae643624868efa1ecae70e637f56b
- Ingested
- 23 Sep 2026, 07:45:55 UTC
- Source record
- Official CVE record