quadule/colorscore · Security

colorscore Command Injection vulnerability

GHSA ID
GHSA-73qw-ww62-m54x
CVE ID
CVE-2015-7541
Severity
critical
Published
Updated
CVSS
10 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v3
10 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Description

The initialize method in the Histogram class in lib/colorscore/histogram.rb in the colorscore gem before 0.0.5 for Ruby allows context-dependent attackers to execute arbitrary code via shell metacharacters in the (1) image_path, (2) colors, or (3) depth variable.

CWEs

References