CVE-2015-7541
CRITICAL 10.0CVSS 3.0colorscore Command Injection vulnerability
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.
- Published
- 8 Jan 2016
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-73qw-ww62-m54x
- Sources
- NVDJSONOSV GHSA-73qw-ww62-m54xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 10.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 10.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | colorscore_project | colorscorecpe:2.3:a:colorscore_project:colorscore:*:*:*:*:*:ruby:*:* |
<= 0.0.4 | |
| OSV | RubyGems | colorscore | < 0.0.5 | 0.0.5 |
References
- http://rubysec.com/advisories/CVE-2015-7541/ · WEB
- http://www.openwall.com/lists/oss-security/2016/01/05/2 · WEB
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718 · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-7541 · ADVISORY
- https://github.com/quadule/colorscore · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml · WEB
- http://seclists.org/oss-sec/2016/q1/17 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 8 Jan 2016)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)