{"id":"CVE-2015-7541","aliases":["EUVD-2017-0181","GHSA-73qw-ww62-m54x"],"status":"published","title":"colorscore Command Injection vulnerability","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.","severity":{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0353,"percentile":0.89334,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2016-01-08T21:00:00Z","modified":"2026-06-17T00:32:42Z","fixes":[{"ecosystem":"RubyGems","package":"colorscore","fixed_in":["0.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"colorscore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.5"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"colorscore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.5"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4"]}],"products":[{"vendor":"colorscore_project","product":"colorscore"}],"references":[{"url":"http://rubysec.com/advisories/CVE-2015-7541/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/01/05/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718","tags":["x_refsource_CONFIRM","x_transferred","Patch","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7541","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/colorscore/CVE-2015-7541.yml","tags":["web"]},{"url":"http://seclists.org/oss-sec/2016/q1/17","tags":["web"]},{"url":"https://github.com/advisories/GHSA-73qw-ww62-m54x"},{"url":"https://github.com/quadule/colorscore","tags":["package"]},{"url":"http://rubysec.com/advisories/CVE-2015-7541","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2015-7541","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.","status":"published","published":"2016-01-08T21:00:00Z","modified":"2024-08-06T07:51:28.452Z","updated_at":"2026-11-02T14:35:44.404481Z"}],"euvd":[{"id":"EUVD-2017-0181","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.","status":"published","published":"2016-01-08T21:00:00Z","modified":"2024-08-06T07:51:28Z","updated_at":"2026-11-03T02:21:52.097705Z"}],"ghsa":[{"id":"GHSA-73qw-ww62-m54x","title":"colorscore Command Injection vulnerability","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.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-08-29T11:49:05Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:37:01.345964Z"}],"nvd":[{"id":"CVE-2015-7541","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.","status":"published","published":"2016-01-08T21:59:04.06Z","modified":"2026-06-17T00:32:42.7Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:03:15.746629Z"}],"osv":[{"id":"GHSA-73qw-ww62-m54x","title":"colorscore Command Injection vulnerability","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.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2024-02-19T05:32:54.496012Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
