All reports
Critical

colorscore Command Injection vulnerability

Affected versions

RubyGemscolorscore
Affected versions
< 0.0.5
Fixed version
0.0.5

Exploitation

CVE-2015-7541

Probability of exploitation in the next 30 days: 3.53%

FIRST EPSS · 2026-11-23

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.

Links