RCE in Minimagick Project
CVE-2019-13574
- CVSS v3
- 7.8 High
- Public exploits
- 1 repository
- EPSS
- 0.076 · 94.7th percentile
- Published
- 2019-07-12
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.076, 94.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Minimagick Project
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- masahiro331/CVE-2019-13574 (1 star, last pushed 2019-11-01)
Also mentioned in 4 other repositories (0xT11/CVE-POC, ARPSyndicate/cve-scores, developer3000S/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/minimagick/minimagick/releases/tag/v4.9.4 (Third Party Advisory, Release Notes)
- github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 (Patch, Third Party Advisory)
- github.com/minimagick/minimagick/compare/d484786...293f9bb (Patch, Third Party Advisory)
- benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ (Exploit, Third Party Advisory)
- DSA-4481 (vendor-advisory, Third Party Advisory)
- 20190715 [SECURITY] [DSA 4481-1] ruby-mini-magick security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20191007 [SECURITY] [DLA 1948-1] ruby-mini-magick security update (mailing-list)