CVE-2015-7541
colorscore Gem for Ruby lib/colorscore/histogram.rb Arbitrary Command Injection
Overview
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.
Source: OX vulnerability database
Severity
10 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness: CWE-77
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | colorscore | <0.0.5 | 0.0.5 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- rubysec.com http://rubysec.com/advisories/CVE-2015-7541
- rubysec.com http://rubysec.com/advisories/CVE-2015-7541/
- seclists.org http://seclists.org/oss-sec/2016/q1/17
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/01/05/2
- github.com https://github.com/quadule/colorscore
- github.com https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2015-7541
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.