The initialize method in the Histogram class in lib/colorscore/histogram.rb in the…
Priority MEDIUM 49CWE-77Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
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.
Why it matters now
EPSS 0.0353 89th percentileScored 2026-11-07
Fix Fixed colorscore (RubyGems): 0.0.5
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | colorscore (RubyGems) | before 0.0.5 | 0.0.5 | Patch available | GHSA-73qw-ww62-m54x |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- colorscore (RubyGems) Vendor— Affected before 0.0.5 Fixed in 0.0.5 Patch available GHSA-73qw-ww62-m54x
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:colorscore_project:colorscore:*:*:*:*:*:ruby:*:* | up to 0.0.4 | Vulnerable | Colorscore Project |
- cpe:2.3:a:colorscore_project:colorscore:*:*:*:*:*:ruby:*:* Versions up to 0.0.4 Vulnerable ·Colorscore Project
Remediation
- Fix · GHSA-73qw-ww62-m54x colorscore (RubyGems) Fixed in 0.0.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2015-7541
- 2026-10-03 Alias added: GHSA-73qw-ww62-m54x
References
Other 6
- http://rubysec.com/advisories/CVE-2015-7541/
- [oss-security] 20160104 Remote Command Injection in Ruby Gem colorscore <=0.0.4
- https://github.com/quadule/colorscore
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml
- http://rubysec.com/advisories/CVE-2015-7541
- http://seclists.org/oss-sec/2016/q1/17
Sources
- CVE-2015-7541 · CVE Program
- CVE-2015-7541 · NVD
- FIRST EPSS
- GHSA-73qw-ww62-m54x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences