{"id":"CVE-2019-13574","details":"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.","aliases":["GHSA-r7j3-vvh2-xrpj"],"modified":"2026-07-08T05:53:00.529541105Z","published":"2019-07-12T03:15:10.467Z","database_specific":{"unresolved_ranges":[{"source":"CPE_STRING","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"10.0"},{"last_affected":"10.0"}]}]},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/minimagick/minimagick/releases/tag/v4.9.4"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Jul/20"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4481"},{"type":"FIX","url":"https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851"},{"type":"FIX","url":"https://github.com/minimagick/minimagick/compare/d484786...293f9bb"},{"type":"EVIDENCE","url":"https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/minimagick/minimagick","events":[{"introduced":"0"},{"fixed":"293f9bb76b72f99150a07be7dae9b0bebc5132d0"},{"fixed":"4cd5081e58810d3394d27a67219e8e4e0445d851"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.9.4"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:minimagick_project:minimagick:*:*:*:*:*:*:*:*"}}],"versions":["v4.9.3","v4.9.2","v4.9.1","v4.9.0","v4.8.0","v4.7.2","v4.7.1","v4.7.0","v4.6.1","v4.6.0","v4.5.1","v4.5.0","v4.4.0","v4.3.6","v4.3.5","v4.3.4","v4.3.3","v4.3.2","v4.3.1","v4.3.0","v4.2.10","v4.2.9","v4.2.8","v4.2.7","v4.2.5","v4.2.4","v4.2.3","v4.2.2","v4.2.1","v4.2.0","v4.1.1","v4.1.0","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v4.0.0.rc","v3.8.1","v3.8.0","v3.7.0","v3.6.0","v3.5.0","v3.4","v1.2.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13574.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}