CRITICAL 10.0 RubyGems

colorscore Command Injection vulnerability

GHSA-73qw-ww62-m54x · CVE-2015-7541

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes