Critical, CVSS 10.0RubyGemsPublished
colorscore Command Injection vulnerability
CVE-2015-7541 · GHSA-73qw-ww62-m54x
- Affected
- RubyGems colorscore < 0.0.5
- Fixed in
- 0.0.5· Vendor fix available
- Issue
- 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) imagepath, (2) colors, or (3) depth variable.
Recommended action: Upgrade to 0.0.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.