CVEvulnerability
CVE-2019-13574
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-07-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78
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.
Affected configurations
• minimagick project minimagick (< 4.9.4)
• debian debian linux 9.0
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ Exploit, Third Party Advisory
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 Patch, Third Party Advisory
- https://github.com/minimagick/minimagick/compare/d484786...293f9bb Patch, Third Party Advisory
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4 Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html lists.debian.org
- https://seclists.org/bugtraq/2019/Jul/20 Mailing List, Third Party Advisory
- https://www.debian.org/security/2019/dsa-4481 Third Party Advisory
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ Exploit, Third Party Advisory
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 Patch, Third Party Advisory
- https://github.com/minimagick/minimagick/compare/d484786...293f9bb Patch, Third Party Advisory
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4 Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html lists.debian.org
- https://seclists.org/bugtraq/2019/Jul/20 Mailing List, Third Party Advisory
- https://www.debian.org/security/2019/dsa-4481 Third Party Advisory