CVE-2015-7541
colorscore Gem for Ruby lib/colorscore/histogram.rb Arbitrary Command Injection
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Ruby Advisory DB.
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | colorscore | 0.0.5 |
| rubygems::Ruby Advisory Database | colorscore | >= 0.0.5 |
Références
- http://rubysec.com/advisories/CVE-2015-7541
- http://rubysec.com/advisories/CVE-2015-7541/
- http://seclists.org/oss-sec/2016/q1/17
- http://www.openwall.com/lists/oss-security/2016/01/05/2
- https://github.com/quadule/colorscore
- https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml
- https://nvd.nist.gov/vuln/detail/CVE-2015-7541