RubySec

Providing security resources for the Ruby community

CVE-2019-13574 (mini_magick): Remote command execution via filename

Remote command execution via filename

Published: July 12, 2019

SECURITY IDENTIFIERS

GEM

mini_magick

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

>= 4.9.4

DESCRIPTION

A remote shell execution vulnerability when using MiniMagick::Image.open with URL coming from unsanitized user input. e.g. MiniMagick::Image.open("| touch.txt")

RELATED