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.
{ "nvd_published_at": "2019-07-12T03:15:00Z", "cwe_ids": [ "CWE-78" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2019-07-18T13:18:58Z" }