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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2019-13574US | high7.8 | Exploit | ||
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#o… | ||||
02
references
External citations — patches, advisories, analysis.
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4WEB
- https://github.com/minimagick/minimagickPACKAGE
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851WEB
- https://github.com/minimagick/minimagick/compare/d484786...293f9bbWEB
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mini_magick/CVE-2019-13574.ymlWEB
- https://lists.debian.org/debian-lts-announce/2019/10/msg00007.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-13574ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan