原始 OSV JSON{
"id": "GHSA-r7j3-vvh2-xrpj",
"aliases": [
"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.",
"summary": "OS Command Injection in MiniMagick",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.4"
}
]
}
],
"package": {
"name": "mini_magick",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-01-25T20:10:32Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"published": "2019-07-18T13:19:22Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13574",
"type": "ADVISORY"
},
{
"url": "https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851",
"type": "WEB"
},
{
"url": "https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4",
"type": "WEB"
},
{
"url": "https://github.com/minimagick/minimagick",
"type": "PACKAGE"
},
{
"url": "https://github.com/minimagick/minimagick/compare/d484786...293f9bb",
"type": "WEB"
},
{
"url": "https://github.com/minimagick/minimagick/releases/tag/v4.9.4",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mini_magick/CVE-2019-13574.yml",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html",
"type": "WEB"
},
{
"url": "https://seclists.org/bugtraq/2019/Jul/20",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2019/dsa-4481",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2019-07-12T03:15:00Z",
"github_reviewed_at": "2019-07-18T13:18:58Z"
}
}