CNVD-2018-07639

Vulnerability from cnvd - Published: 2018-04-13
VLAI
Title
Ruby目录遍历漏洞(CNVD-2018-07639)
Description
Ruby是日本软件开发者松本行弘所研发的一种跨平台、面向对象的动态类型编程语言。tmpdir library是其中的一个用于创建文件和目录的库。 Ruby中的tmpdir库的Dir.mktmpdir方法存在目录遍历漏洞。攻击者可借助带有‘..’序列的‘prefix’参数利用该漏洞创建任意目录或文件。
Severity
中
Patch Name
Ruby目录遍历漏洞(CNVD-2018-07639)的补丁
Patch Description
Ruby是日本软件开发者松本行弘所研发的一种跨平台、面向对象的动态类型编程语言。tmpdir library是其中的一个用于创建文件和目录的库。 Ruby中的tmpdir库的Dir.mktmpdir方法存在目录遍历漏洞。攻击者可借助带有‘..’序列的‘prefix’参数利用该漏洞创建任意目录或文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/

Reference
https://nvd.nist.gov/vuln/detail/CVE-2018-6914
Impacted products
Name
['Ruby Ruby 2.6.0-preview1', 'Ruby Ruby < 2.2.10', 'Ruby Ruby 2.3.*,<2.3.7', 'Ruby Ruby 2.4.*,<2.4.4', 'Ruby Ruby 2.5.*,<2.5.1']
Show details on source website

{
  "bids": {
    "bid": {
      "bidNumber": "103686"
    }
  },
  "cves": {
    "cve": {
      "cveNumber": "CVE-2018-6914"
    }
  },
  "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\u3002tmpdir library\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u5e93\u3002\r\n\r\nRuby\u4e2d\u7684tmpdir\u5e93\u7684Dir.mktmpdir\u65b9\u6cd5\u5b58\u5728\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u501f\u52a9\u5e26\u6709\u2018..\u2019\u5e8f\u5217\u7684\u2018prefix\u2019\u53c2\u6570\u5229\u7528\u8be5\u6f0f\u6d1e\u521b\u5efa\u4efb\u610f\u76ee\u5f55\u6216\u6587\u4ef6\u3002",
  "discovererName": "ooooooo_q",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2018-07639",
  "openTime": "2018-04-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\u3002tmpdir library\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u5e93\u3002\r\n\r\nRuby\u4e2d\u7684tmpdir\u5e93\u7684Dir.mktmpdir\u65b9\u6cd5\u5b58\u5728\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u501f\u52a9\u5e26\u6709\u2018..\u2019\u5e8f\u5217\u7684\u2018prefix\u2019\u53c2\u6570\u5229\u7528\u8be5\u6f0f\u6d1e\u521b\u5efa\u4efb\u610f\u76ee\u5f55\u6216\u6587\u4ef6\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\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\uff08CNVD-2018-07639\uff09\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Ruby Ruby 2.6.0-preview1",
      "Ruby Ruby \u003c 2.2.10",
      "Ruby Ruby 2.3.*\uff0c\u003c2.3.7",
      "Ruby Ruby 2.4.*\uff0c\u003c2.4.4",
      "Ruby Ruby 2.5.*\uff0c\u003c2.5.1"
    ]
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2018-6914",
  "serverity": "\u4e2d",
  "submitTime": "2018-04-04",
  "title": "Ruby\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\uff08CNVD-2018-07639\uff09"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…