7.8
HIGH
CVE-2019-13574
MiniMagick Remote Command Execution Vulnerability
Description

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.

INFO

Published Date :

July 12, 2019, 3:15 a.m.

Last Modified :

Aug. 24, 2020, 5:37 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2019-13574 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-13574 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Minimagick_project minimagick
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-13574.

URL Resource
https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ Exploit Third Party Advisory
https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 Patch Third Party Advisory
https://github.com/minimagick/minimagick/compare/d484786...293f9bb Patch Third Party Advisory
https://github.com/minimagick/minimagick/releases/tag/v4.9.4 Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html
https://seclists.org/bugtraq/2019/Jul/20 Mailing List Third Party Advisory
https://www.debian.org/security/2019/dsa-4481 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 6 months, 4 weeks ago
33 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 1 year, 1 month ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

Updated: 1 month, 2 weeks ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

None

Ruby

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : July 16, 2019, 7:17 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-13574 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-13574 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-20 CWE-78
  • CVE Modified by [email protected]

    Oct. 07, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 22, 2019

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ No Types Assigned https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ Exploit, Third Party Advisory
    Changed Reference Type https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 No Types Assigned https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 Patch, Third Party Advisory
    Changed Reference Type https://github.com/minimagick/minimagick/compare/d484786...293f9bb No Types Assigned https://github.com/minimagick/minimagick/compare/d484786...293f9bb Patch, Third Party Advisory
    Changed Reference Type https://github.com/minimagick/minimagick/releases/tag/v4.9.4 No Types Assigned https://github.com/minimagick/minimagick/releases/tag/v4.9.4 Release Notes, Third Party Advisory
    Changed Reference Type https://seclists.org/bugtraq/2019/Jul/20 No Types Assigned https://seclists.org/bugtraq/2019/Jul/20 Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2019/dsa-4481 No Types Assigned https://www.debian.org/security/2019/dsa-4481 Third Party Advisory
    Added CWE CWE-20
    Added CPE Configuration OR *cpe:2.3:a:minimagick_project:minimagick:*:*:*:*:*:*:*:* versions up to (excluding) 4.9.4
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 15, 2019

    Action Type Old Value New Value
    Added Reference https://seclists.org/bugtraq/2019/Jul/20 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 13, 2019

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2019/dsa-4481 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 12, 2019

    Action Type Old Value New Value
    Added Reference https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-13574 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.90 }} 0.27%

score

0.82993

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability