CVE-2019-13574
Minimagick Project Minimagick vulnerability
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.
Affected products
Minimagick, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Minimagick Project Minimagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 · Patch
- github.com/minimagick/minimagick/compare/d484786...293f9bb · Patch
- benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ · Exploit
- github.com/minimagick/minimagick/releases/tag/v4.9.4 · Third Party Advisory
- seclists.org/bugtraq/2019/Jul/20 · Third Party Advisory
- www.debian.org/security/2019/dsa-4481 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/10/msg00007.html
- nvd.nist.gov/vuln/detail/CVE-2019-13574
- cve.org/CVERecord?id=CVE-2019-13574
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.