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.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-77" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:21:15Z" }