Remote Code Execution Affecting mini_magick package, versions <4.9.4
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.45% (75th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-MINIMAGICK-451567
- published 12 Jul 2019
- disclosed 12 Jul 2019
- credit Janko Marohnic
Introduced: 12 Jul 2019
CVE-2019-13574 Open this link in a new tabHow to fix?
Upgrade mini_magick
to version 4.9.4 or higher.
Overview
mini_magick is a ruby wrapper for ImageMagick or GraphicsMagick command line.
Affected versions of this package are vulnerable to Remote Code Execution. A fetched remote image filename can cause remote command execution due to Image.open
input being directly passed to Kernel#open
, which accepts a |
character followed by a command.