cnvd-2016-00186
Vulnerability from cnvd
Title
Ruby colorscore gem任意代码执行漏洞
Description
Ruby是日本软件开发者松本行弘所研发的一种跨平台、面向对象的动态类型编程语言。colorscore gem是其中的一个用于区分颜色的库。 Ruby colorscore gem 0.0.5之前版本的lib/colorscore/histogram.rb文件中的Histogram类中的‘initialize’方法中存在安全漏洞。攻击者可借助‘image_path’、‘colors’或‘depth’变量中的shell元字符利用该漏洞执行任意代码。
Severity
Patch Name
Ruby colorscore gem任意代码执行漏洞的补丁
Patch Description
Ruby是日本软件开发者松本行弘所研发的一种跨平台、面向对象的动态类型编程语言。colorscore gem是其中的一个用于区分颜色的库。 Ruby colorscore gem 0.0.5之前版本的lib/colorscore/histogram.rb文件中的Histogram类中的‘initialize’方法中存在安全漏洞。攻击者可借助‘image_path’、‘colors’或‘depth’变量中的shell元字符利用该漏洞执行任意代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: https://rubygems.org/gems/colorscore

Reference
http://www.openwall.com/lists/oss-security/2016/01/05/2 https://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718 http://rubysec.com/advisories/CVE-2015-7541/
Impacted products
Name
RubyGems colorscore gem <0.0.5
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2015-7541"
    }
  },
  "description": "Ruby\u662f\u65e5\u672c\u8f6f\u4ef6\u5f00\u53d1\u8005\u677e\u672c\u884c\u5f18\u6240\u7814\u53d1\u7684\u4e00\u79cd\u8de8\u5e73\u53f0\u3001\u9762\u5411\u5bf9\u8c61\u7684\u52a8\u6001\u7c7b\u578b\u7f16\u7a0b\u8bed\u8a00\u3002colorscore gem\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u7528\u4e8e\u533a\u5206\u989c\u8272\u7684\u5e93\u3002\r\n\r\nRuby colorscore gem 0.0.5\u4e4b\u524d\u7248\u672c\u7684lib/colorscore/histogram.rb\u6587\u4ef6\u4e2d\u7684Histogram\u7c7b\u4e2d\u7684\u2018initialize\u2019\u65b9\u6cd5\u4e2d\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018image_path\u2019\u3001\u2018colors\u2019\u6216\u2018depth\u2019\u53d8\u91cf\u4e2d\u7684shell\u5143\u5b57\u7b26\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002",
  "discovererName": "Reed Loden \u003creed@...dloden.com\u003e",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u7ecf\u53d1\u5e03\u4e86\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6b64\u5b89\u5168\u95ee\u9898\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://rubygems.org/gems/colorscore",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2016-00186",
  "openTime": "2016-01-13",
  "patchDescription": "Ruby\u662f\u65e5\u672c\u8f6f\u4ef6\u5f00\u53d1\u8005\u677e\u672c\u884c\u5f18\u6240\u7814\u53d1\u7684\u4e00\u79cd\u8de8\u5e73\u53f0\u3001\u9762\u5411\u5bf9\u8c61\u7684\u52a8\u6001\u7c7b\u578b\u7f16\u7a0b\u8bed\u8a00\u3002colorscore gem\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u7528\u4e8e\u533a\u5206\u989c\u8272\u7684\u5e93\u3002\r\n\r\nRuby colorscore gem 0.0.5\u4e4b\u524d\u7248\u672c\u7684lib/colorscore/histogram.rb\u6587\u4ef6\u4e2d\u7684Histogram\u7c7b\u4e2d\u7684\u2018initialize\u2019\u65b9\u6cd5\u4e2d\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018image_path\u2019\u3001\u2018colors\u2019\u6216\u2018depth\u2019\u53d8\u91cf\u4e2d\u7684shell\u5143\u5b57\u7b26\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Ruby colorscore gem\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "RubyGems colorscore gem \u003c0.0.5"
  },
  "referenceLink": "http://www.openwall.com/lists/oss-security/2016/01/05/2\r\nhttps://github.com/quadule/colorscore/commit/570b5e854cecddd44d2047c44126aed951b61718\r\nhttp://rubysec.com/advisories/CVE-2015-7541/",
  "serverity": "\u9ad8",
  "submitTime": "2016-01-12",
  "title": "Ruby colorscore gem\u4efb\u610f\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…