VDB

CVE-2019-13574

CVE-2019-13574 PUBLISHED CVSS 7.800000190734863 HIGH

OS Command Injection in MiniMagick

Reported by mitre · Published July 12, 2019

mini_magick is fixed in 4.9.4 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mini_magickRubyGems4.9.4

Risk scores

CVSS 3.0
7.800000190734863
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
RubyGemsmini_magick0
n/an/a*

Timeline

  • Jul 12, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jan 25, 2023 CVE Updated
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 15, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-13574
vulnetix vdb fixes CVE-2019-13574

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-13574/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›