ADVISORIES

GitHub Advisory Database

GHSA-73qw-ww62-m54x

colorscore Command Injection vulnerability

Critical CVE-2015-7541

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemscolorscore
All versions before 0.0.5 (fixed in 0.0.5)

References