High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-13574
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:34 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-13574
Complete source record
{
"id": "3345b94ee95e5b97cc560f756abd1f75094cb5f7b105aced11949e9c5d71ef33",
"url": "https://osv.dev/vulnerability/CVE-2019-13574",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-13574",
"summary": "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.",
"evidence": "osv:CVE-2019-13574",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-13574",
"aliases": [
"CVE-2019-13574",
"GHSA-r7j3-vvh2-xrpj"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/minimagick/minimagick",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "293f9bb76b72f99150a07be7dae9b0bebc5132d0"
},
{
"fixed": "4cd5081e58810d3394d27a67219e8e4e0445d851"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:minimagick_project:minimagick:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.9.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4cd5081e58810d3394d27a67219e8e4e0445d851"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "293f9bb76b72f99150a07be7dae9b0bebc5132d0"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.9.4"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-20T10:50:42.818768024Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html",
"https://github.com/minimagick/minimagick/releases/tag/v4.9.4",
"https://seclists.org/bugtraq/2019/Jul/20",
"https://www.debian.org/security/2019/dsa-4481",
"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/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-13574",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382047,
"published_at": "2019-07-12T03:15:10.467+00:00"
}