CVE-2019-13574
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 4.9.2-1.1 |
| sid | Fixed | 4.9.2-1.1 |
| forky | Fixed | 4.9.2-1.1 |
| bullseye | Fixed | 4.9.2-1.1 |
| bookworm | Fixed | 4.9.2-1.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | mini_magick | <>= 4.9.4 | >= 4.9.4 |
| RubyGems | mini_magick | <4.9.4 | 4.9.4 |
References
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/
- https://nvd.nist.gov/vuln/detail/CVE-2019-13574
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4
- https://github.com/minimagick/minimagick
- https://github.com/minimagick/minimagick/compare/d484786...293f9bb
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mini_magick/CVE-2019-13574.yml
- https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html
- https://seclists.org/bugtraq/2019/Jul/20
- https://www.debian.org/security/2019/dsa-4481
- https://security-tracker.debian.org/tracker/CVE-2019-13574
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.