CVE-2015-7541 colorscore Command Injection vulnerability
CriticalCVSS 10.0
EPSS 3.5%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems colorscore(RubyGems) | < 0.0.5 | 0.0.5 |
| rubygems colorscore(RubyGems) | = 0.0.1 | No fix listed |
| rubygems colorscore(RubyGems) | = 0.0.2 | No fix listed |
| rubygems colorscore(RubyGems) | = 0.0.3 | No fix listed |
| rubygems colorscore(RubyGems) | = 0.0.4 | No fix listed |
| colorscore project colorscore | <= 0.0.4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- rubysec.com
- [oss-security] 20160104 Remote Command Injection in Ruby Gem colorscore <=0.0.4 mailing-list
- github.com exploit
- seclists.org
- github.com
- github.com product