CVE-2019-13574
published 2019-07-12CVE-2019-13574: 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…
PriorityP342high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
7.64%
94.0th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ruby-mini-magick | < ruby-mini-magick 4.9.2-1.1 (bookworm) | ruby-mini-magick 4.9.2-1.1 (bookworm) |
| minimagick_project | minimagick | < 4.9.4 | 4.9.4 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
OS Command Injection in MiniMagick
ghsa·2019-07-18
CVE-2019-13574 [HIGH] CWE-78 OS Command Injection in MiniMagick
OS Command Injection in MiniMagick
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.
OSV
OS Command Injection in MiniMagick
osv·2019-07-18
CVE-2019-13574 [HIGH] OS Command Injection in MiniMagick
OS Command Injection in MiniMagick
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.
OSV
CVE-2019-13574: In lib/mini_magick/image
osv·2019-07-12·CVSS 7.8
CVE-2019-13574 [HIGH] CVE-2019-13574: In lib/mini_magick/image
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.
Debian
CVE-2019-13574: ruby-mini-magick - In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image f...
vendor_debian·2019·CVSS 7.8
CVE-2019-13574 [HIGH] CVE-2019-13574: ruby-mini-magick - In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image f...
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.
Scope: local
bookworm: resolved (fixed in 4.9.2-1.1)
bullseye: resolved (fixed in 4.9.2-1.1)
forky: resolved (fixed in 4.9.2-1.1)
sid: resolved (fixed in 4.9.2-1.1)
trixie: resolved (fixed in 4.9.2-1.1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leads to remote command execution [fedora-all]
bugzilla·2019-11-19·CVSS 7.8
CVE-2019-13574 [HIGH] CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leads to remote command execution [fedora-all]
CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leads to remote command execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue
Bugzilla
CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leads to remote command execution [fedora-all]
bugzilla·2019-11-19·CVSS 7.8
CVE-2019-13574 [HIGH] CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leads to remote command execution [fedora-all]
CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leads to remote command execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue
Bugzilla
CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leds to remote command execution
bugzilla·2019-11-19·CVSS 7.8
CVE-2019-13574 [HIGH] CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leds to remote command execution
CVE-2019-13574 rubygem-mini_magick: fetching remote image filename leds to remote command execution
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.
Upstream commit:
https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851
References:
https://github.com/minimagick/minimagick/releases/tag/v4.9.4
https://github.com/minimagick/minimagick/compare/d484786...293f9bb
https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/
https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html
https://seclists.org/bugtraq/2019/Jul/20
https://www.debi
https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851https://github.com/minimagick/minimagick/compare/d484786...293f9bbhttps://github.com/minimagick/minimagick/releases/tag/v4.9.4https://lists.debian.org/debian-lts-announce/2019/10/msg00007.htmlhttps://seclists.org/bugtraq/2019/Jul/20https://www.debian.org/security/2019/dsa-4481https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851https://github.com/minimagick/minimagick/compare/d484786...293f9bbhttps://github.com/minimagick/minimagick/releases/tag/v4.9.4https://lists.debian.org/debian-lts-announce/2019/10/msg00007.htmlhttps://seclists.org/bugtraq/2019/Jul/20https://www.debian.org/security/2019/dsa-4481
2019-07-12
Published