OS Command Injection in MiniMagick
High severity
GitHub Reviewed
Published
Jul 18, 2019
to the GitHub Advisory Database
•
Updated Aug 29, 2023
Description
Published by the National Vulnerability Database
Jul 12, 2019
Reviewed
Jul 18, 2019
Published to the GitHub Advisory Database
Jul 18, 2019
Last updated
Aug 29, 2023
In
lib/mini_magick/image.rb
in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution becauseImage.open
input is directly passed toKernel#open
, which accepts a|
character followed by a command.References