CVE-2019-13574
mediumpriority · track · 44EPSS 0.076 · 95 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- masahiro331/CVE-2019-13574masahiro331/CVE-2019-13574PoC · poc_in_github
affected products (13)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-r7j3-vvh2-xrpjOS Command Injection in MiniMagick2019-07-18ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- http://www.debian.org/security/2019/dsa-4481cnnvd
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/cnnvd
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851cnnvd
- https://github.com/minimagick/minimagick/compare/d484786...293f9bbcnnvd
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4cnnvd
- https://lists.debian.org/debian-lts-announce/2019/10/msg00007.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-13574cnnvd
- https://packetstormsecurity.com/files/153623/Debian-Security-Advisory-4481-1.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan