Skip to main content
← All vulnerabilities
CVE-2019-13574GHSA-R7J3-VVH2-XRPJ

In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because Image.o

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.9.4
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • mini_magickRubyGems

    fixed in 4.9.4

References 8

GitHub · minimagick/minimagick

benjamin-bouchet.com

debian.org

seclists.org

lists.debian.org

GitHub · masahiro331/CVE-2019-13574