{"id":"CVE-2019-13574","state":"PUBLISHED","title":"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","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.","publishedAt":"2019-07-12T02:31:25.000Z","updatedAt":"2024-08-04T23:57:39.417Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/minimagick/minimagick/releases/tag/v4.9.4","https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851","https://github.com/minimagick/minimagick/compare/d484786...293f9bb","https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/","https://www.debian.org/security/2019/dsa-4481","https://seclists.org/bugtraq/2019/Jul/20","https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:27.952Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/13xxx/CVE-2019-13574.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-13574","state":"PUBLISHED","datePublished":"2019-07-12T02:31:25.000Z","dateUpdated":"2024-08-04T23:57:39.417Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-07-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/minimagick/minimagick/releases/tag/v4.9.4","tags":["x_refsource_MISC"]},{"url":"https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851","tags":["x_refsource_MISC"]},{"url":"https://github.com/minimagick/minimagick/compare/d484786...293f9bb","tags":["x_refsource_MISC"]},{"url":"https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2019/dsa-4481","name":"DSA-4481","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Jul/20","name":"20190715 [SECURITY] [DSA 4481-1] ruby-mini-magick security update","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html","name":"[debian-lts-announce] 20191007 [SECURITY] [DLA 1948-1] ruby-mini-magick security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-10-07T12:06:03.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-13574","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/minimagick/minimagick/releases/tag/v4.9.4","refsource":"MISC","url":"https://github.com/minimagick/minimagick/releases/tag/v4.9.4"},{"name":"https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851","refsource":"MISC","url":"https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851"},{"name":"https://github.com/minimagick/minimagick/compare/d484786...293f9bb","refsource":"MISC","url":"https://github.com/minimagick/minimagick/compare/d484786...293f9bb"},{"name":"https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/","refsource":"MISC","url":"https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/"},{"name":"DSA-4481","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4481"},{"name":"20190715 [SECURITY] [DSA 4481-1] ruby-mini-magick security update","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Jul/20"},{"name":"[debian-lts-announce] 20191007 [SECURITY] [DLA 1948-1] ruby-mini-magick security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/minimagick/minimagick/releases/tag/v4.9.4","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/minimagick/minimagick/compare/d484786...293f9bb","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4481","name":"DSA-4481","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Jul/20","name":"20190715 [SECURITY] [DSA 4481-1] ruby-mini-magick security update","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html","name":"[debian-lts-announce] 20191007 [SECURITY] [DLA 1948-1] ruby-mini-magick security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T23:57:39.417Z"}}]}}}