GitHub Advisoryadvisory · RubyGems
GHSA-73qw-ww62-m54x colorscore Command Injection vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2015-7541
- Ecosystem
- RubyGems
- Packages
- colorscore
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2020-06-16
Affected packages
• RubyGems colorscore: < 0.0.5 → fixed in 0.0.5
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.
Related
Alias · CVE (1)
- CVE-2015-7541 The initialize method in the Histogram class in lib/colorscore/histogram.rb in the colorscore gem before 0.0.5 for Ruby allows… vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7541 advisory
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718 web
- https://github.com/quadule/colorscore package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml web
- http://rubysec.com/advisories/CVE-2015-7541 web
- http://seclists.org/oss-sec/2016/q1/17 web
- http://www.openwall.com/lists/oss-security/2016/01/05/2 web