OS Command Injection Affecting ruby-mini-magick package, versions <4.9.2-1.1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
7.64% (95th 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 IDSNYK-DEBIAN12-RUBYMINIMAGICK-1559201
  • published24 Jul 2019
  • disclosed12 Jul 2019

Introduced: 12 Jul 2019

CVE-2019-13574  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:12 ruby-mini-magick to version 4.9.2-1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-mini-magick package and not the ruby-mini-magick package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.