~ / search / GHSA-r7j3-vvh2-xrpj

GHSA-r7j3-vvh2-xrpj

OS Command Injection in MiniMagick

Source: GitHub Advisory Database (reviewed) High CVE-2019-13574

Packages

EcosystemPackageAffectedFixed in
RubyGems mini_magick < 4.9.4 4.9.4

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.