{"id":"UBUNTU-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.","modified":"2025-10-24T04:47:43Z","published":"2019-07-12T03:15:00Z","upstream":["CVE-2019-13574"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-13574"},{"type":"REPORT","url":"https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/"},{"type":"REPORT","url":"https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851"},{"type":"REPORT","url":"https://github.com/minimagick/minimagick/compare/d484786...293f9bb"},{"type":"REPORT","url":"https://github.com/minimagick/minimagick/releases/tag/v4.9.4"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-13574"}],"affected":[{"package":{"name":"ruby-mini-magick","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-mini-magick@4.4.0-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.3-1","4.3.3-2","4.3.6-2","4.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.4.0-1","binary_name":"ruby-mini-magick"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13574.json"}},{"package":{"name":"ruby-mini-magick","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-mini-magick@4.8.0-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.2-1","4.8.0-1","4.8.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.8.0-2","binary_name":"ruby-mini-magick"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-13574.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}