cve.bz

CVE-2019-13574 OS Command Injection

7.8 highExploit referenceEPSS 7.6%Fix available

High (7.8). EPSS 7.6% estimated probability of exploitation activity in the next 30 days. Fixed in mini_magick 4.9.4.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
7.6% (unchanged from 7.6% a week ago; 7.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-13574 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-13574?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-13574?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-13574 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
minimagick_project:minimagickbefore 4.9.4
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r7j3-vvh2-xrpjRubyGemsmini_magick<4.9.44.9.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8ruby-mini-magick3.8.1-1+deb8u1DLA-1948-1
Debian9ruby-mini-magick4.5.1-1+deb9u1DSA-4481-1
Debian10ruby-mini-magick4.9.2-1+deb10u1DSA-4481-1
Debian12, 13, 14ruby-mini-magick4.9.2-1.1DEBIAN-CVE-2019-13574
Ubuntu16.04:LTSruby-mini-magickno fix listedUBUNTU-CVE-2019-13574
UbuntuPro:18.04:LTSruby-mini-magick4.8.0-2ubuntu0.1~esm1UBUNTU-CVE-2019-13574 USN-9149-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON