{"api_version":"1","generated_at":"2026-07-23T05:59:30+00:00","cve":"CVE-2015-7541","urls":{"html":"https://cve.report/CVE-2015-7541","api":"https://cve.report/api/cve/CVE-2015-7541.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-7541","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-7541"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"redhat","published_at":"2016-01-08 21:59:04","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-77","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","data":{"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,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://rubysec.com/advisories/CVE-2015-7541/","name":"http://rubysec.com/advisories/CVE-2015-7541/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CVE-2015-7541: colorscore Gem for Ruby lib/colorscore/histogram.rb Arbitrary Command Injection - RubySec","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/01/05/2","name":"http://www.openwall.com/lists/oss-security/2016/01/05/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Remote Command Injection in Ruby Gem colorscore <=0.0.4","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718","name":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Fix CVE-2015-7541 · quadule/colorscore@570b5e8 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-7541","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7541","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"7541","vulnerable":"1","versionEndIncluding":"0.0.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"colorscore_project","cpe5":"colorscore","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T07:51:28.452Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://rubysec.com/advisories/CVE-2015-7541/"},{"name":"[oss-security] 20160104 Remote Command Injection in Ruby Gem colorscore <=0.0.4","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/01/05/2"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-01-04T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-01-08T20:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_MISC"],"url":"http://rubysec.com/advisories/CVE-2015-7541/"},{"name":"[oss-security] 20160104 Remote Command Injection in Ruby Gem colorscore <=0.0.4","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/01/05/2"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2015-7541","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://rubysec.com/advisories/CVE-2015-7541/","refsource":"MISC","url":"http://rubysec.com/advisories/CVE-2015-7541/"},{"name":"[oss-security] 20160104 Remote Command Injection in Ruby Gem colorscore <=0.0.4","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/01/05/2"},{"name":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718","refsource":"CONFIRM","url":"https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2015-7541","datePublished":"2016-01-08T21:00:00.000Z","dateReserved":"2015-09-29T00:00:00.000Z","dateUpdated":"2024-08-06T07:51:28.452Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2016-01-08 21:59:04","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-77","n/a"],"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,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":6}],"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,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false}]},"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"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"7541","Ordinal":"1","Title":"CVE-2015-7541","CVE":"CVE-2015-7541","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"7541","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2015-7541"},{"CveYear":"2015","CveId":"7541","Ordinal":"2","NoteData":"2016-01-08","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"7541","Ordinal":"3","NoteData":"2016-01-08","Type":"Other","Title":"Modified"}]}}}