logo

CVE-2019-13574 mini_magick

Package

Manager: gem
Name: mini_magick
Vulnerable Version: >=0 <4.9.4

Severity

Level: High

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

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.29491 pctl0.96452

Details

OS Command Injection in MiniMagick 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.

Metadata

Created: 2019-07-18T13:19:22Z
Modified: 2023-01-25T20:10:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-r7j3-vvh2-xrpj/GHSA-r7j3-vvh2-xrpj.json
CWE IDs: ["CWE-78"]
Alternative ID: GHSA-r7j3-vvh2-xrpj
Finding: F404
Auto approve: 1