製品・ソフトウェアに関する情報
Ruby 用 Colorscore gem の lib/colorscore/histogram.rb の Histogram クラスの初期化メソッドにおける任意のコードを実行される脆弱性
Title Ruby 用 Colorscore gem の lib/colorscore/histogram.rb の Histogram クラスの初期化メソッドにおける任意のコードを実行される脆弱性
Summary

Ruby 用 Colorscore gem の lib/colorscore/histogram.rb の Histogram クラスの初期化メソッドには、任意のコードを実行される脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-77: Improper Neutralization of Special Elements used in a Command (コマンドインジェクション) と識別されています。 http://cwe.mitre.org/data/definitions/77.html

Possible impacts 攻撃者により、(1) image_path、(2) colors、(3) depth 変数のシェルのメタ文字を介して、任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Sept. 29, 2015, midnight
Registration Date Jan. 19, 2016, 11:05 a.m.
Last Update Jan. 19, 2016, 11:05 a.m.
CVSS2.0 : 危険
Score 10
Vector AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected System
Colorscore project
Colorscore 0.0.5 未満
Colorscore 0.0.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年01月19日]
  掲載
Feb. 17, 2018, 10:37 a.m.
0 [2016年01月19日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2015-7541
Summary

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.

Publication Date Jan. 9, 2016, 6:59 a.m.
Registration Date Jan. 26, 2021, 2:56 p.m.
Last Update Nov. 21, 2024, 11:36 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:colorscore_project:colorscore:*:*:*:*:*:ruby:*:* 0.0.4
Related information, measures and tools
Common Vulnerabilities List