{"id":"CVE-2015-7541","sourceIdentifier":"secalert@redhat.com","published":"2016-01-08T21:59:04.060","lastModified":"2026-06-17T00:32:42.700","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"El método initialize en la clase Histogram en lib/colorscore/histogram.rb en la gema colorscore en versiones anteriores a 0.0.5 para Ruby permite a atacantes dependientes de contexto ejecutar código arbitrario a través de metacaracteres de shell la variable (1) image_path, (2) colors o (3) depth."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":10.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":6.0}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-77"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:colorscore_project:colorscore:*:*:*:*:*:ruby:*:*","versionEndIncluding":"0.0.4","matchCriteriaId":"FCEB24C4-DB0E-4A57-90D7-7976ABCD5E92"}]}]}],"references":[{"url":"http://rubysec.com/advisories/CVE-2015-7541/","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2016/01/05/2","source":"secalert@redhat.com"},{"url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718","source":"secalert@redhat.com","tags":["Patch"]},{"url":"http://rubysec.com/advisories/CVE-2015-7541/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2016/01/05/2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}