CVE-2019-13574: OS Command Injection

Published Jul 12, 2019
·
Updated

In lib/minimagick/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.

Other sources

In lib/minimagick/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.

Affected Software

6 affected componentsFixes available
rubygems/mini_magick<4.9.4
4.9.4
debian/ruby-mini-magick
4.9.2-1+deb10u14.10.1-14.11.0-1
debian/ruby-mini-magick<=4.9.3-1, <=4.9.2-1, <=4.5.1-1
4.5.1-1+deb9u14.9.2-1.14.9.2-1+deb10u14.9.5-1
Minimagick Project Minimagick<4.9.4
Debian Debian Linux=9.0
Debian Debian Linux=10.0

Event History

Jul 12, 2019
CVE Published
via MITRE·02:31 AM
Data Sourced
via MITRE·02:31 AM
Description
Jul 18, 2019
Advisory Published
01:19 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-13574?

CVE-2019-13574 has a medium severity rating due to its potential for remote command execution.

2

How do I fix CVE-2019-13574?

To fix CVE-2019-13574, update MiniMagick to version 4.9.4 or later.

3

What software is affected by CVE-2019-13574?

CVE-2019-13574 affects MiniMagick versions prior to 4.9.4, including various Debian Ruby packages.

4

Can CVE-2019-13574 lead to a security breach?

Yes, CVE-2019-13574 can lead to a security breach through remote command execution if exploited.

5

Is it safe to use MiniMagick versions below 4.9.4 after the CVE-2019-13574 disclosure?

No, it is not safe to use MiniMagick versions below 4.9.4 after the disclosure of CVE-2019-13574.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203