LiveActive security incident?Get immediate response
CVE Record

CVE-2019-13574: In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

MiniMagick before 4.9.4 could let a malicious remote image filename be interpreted as a command when an application opens it. For businesses, the concern is server-side command execution in Ruby services that process untrusted images or image URLs.

Executive priority

Prioritize remediation where public-facing services process uploaded images or remote image URLs. Treat confirmed reachable use as urgent because the vulnerability class is remote command execution, even though no exploitation evidence is provided here.

Technical view

The flaw is in lib/mini_magick/image.rb: Image.open passed input to Ruby Kernel#open, which can treat pipe-prefixed input as command execution. Sources identify MiniMagick versions before 4.9.4 and Debian ruby-mini-magick packages as affected.

Likely exposure

Exposure is most likely in Ruby applications using MiniMagick before 4.9.4 to fetch or open user-controlled remote image filenames or URLs. Static dependency inventory alone is not enough; confirm the vulnerable API is reachable from untrusted input.

Exploitation context

The provided bundle does not show CISA KEV listing or confirmed in-the-wild exploitation. Public references include the MiniMagick 4.9.4 release, a fixing commit, a comparison diff, Debian advisories, and a researcher write-up.

Researcher notes

The CVE record has incomplete structured affected-product and CVSS data. Focus triage on MiniMagick before 4.9.4 and Debian ruby-mini-magick advisories. Validate reachability through application data flow, not just package presence.

Mitigation direction

  • Upgrade the MiniMagick gem to version 4.9.4 or later.
  • Apply Debian ruby-mini-magick security updates where packaged versions are used.
  • Audit image ingestion paths for untrusted filenames or remote URLs.
  • Reject or normalize untrusted image identifiers before calling MiniMagick APIs.
  • Check current vendor guidance for any environment-specific backports.

Validation and detection

  • Inventory Gemfile.lock, package manifests, and container images for MiniMagick versions.
  • Identify code paths calling Image.open or MiniMagick image-opening helpers.
  • Confirm untrusted image filenames cannot reach vulnerable MiniMagick versions.
  • Run regression tests for malicious filename handling without executing external commands.
  • Verify deployed hosts use updated gems or patched OS packages.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2019-13574 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
8Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.