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.
CPE | Name | Operator | Version |
---|---|---|---|
colorscore | eq | 0.0.1 | |
colorscore | eq | 0.0.3 | |
colorscore | eq | 0.0.2 | |
colorscore | eq | 0.0.4 |
rubysec.com/advisories/CVE-2015-7541
seclists.org/oss-sec/2016/q1/17
www.openwall.com/lists/oss-security/2016/01/05/2
github.com/quadule/colorscore
github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718
github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml
nvd.nist.gov/vuln/detail/CVE-2015-7541