{"id":"GHSA-73qw-ww62-m54x","summary":"colorscore Command Injection vulnerability","details":"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.","aliases":["CVE-2015-7541"],"modified":"2024-02-19T05:32:54.496012Z","published":"2017-10-24T18:33:36Z","database_specific":{"cwe_ids":["CWE-77"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:21:15Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7541"},{"type":"WEB","url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718"},{"type":"PACKAGE","url":"https://github.com/quadule/colorscore"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml"},{"type":"WEB","url":"http://rubysec.com/advisories/CVE-2015-7541"},{"type":"WEB","url":"http://seclists.org/oss-sec/2016/q1/17"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/01/05/2"}],"affected":[{"package":{"name":"colorscore","ecosystem":"RubyGems","purl":"pkg:gem/colorscore"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.5"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-73qw-ww62-m54x/GHSA-73qw-ww62-m54x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}