cnvd-2017-09870
Vulnerability from cnvd

Title: Oniguruma 'onigenc_unicode_get_case_fold_codes_by_str()'函数栈缓冲区溢出漏洞

Description:

mbstring(Multi-Byte String)是PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)中的一个语言编码扩展库;Oniguruma-mod是Ruby(编程语言)中的一个正则表达式库。Oniguruma是其中的一个正则表达式引擎。

Ruby 2.4.1及之前的版本的Oniguruma-mod和PHP 7.1.5及之前的版本的mbstring中使用的Oniguruma 6.2.0版本的'onigenc_unicode_get_case_fold_codes_by_str()'函数存在栈缓冲区溢出漏洞。攻击者可利用该漏洞造成拒绝服务(栈越边界写入)。

Severity:

Patch Name: Oniguruma 'onigenc_unicode_get_case_fold_codes_by_str()'函数栈缓冲区溢出漏洞的补丁

Patch Description:

mbstring(Multi-Byte String)是PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)中的一个语言编码扩展库;Oniguruma-mod是Ruby(编程语言)中的一个正则表达式库。Oniguruma是其中的一个正则表达式引擎。

Ruby 2.4.1及之前的版本的Oniguruma-mod和PHP 7.1.5及之前的版本的mbstring中使用的Oniguruma 6.2.0版本的'onigenc_unicode_get_case_fold_codes_by_str()'函数存在栈缓冲区溢出漏洞。攻击者可利用该漏洞造成拒绝服务(栈越边界写入)。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: https://github.com/kkos/oniguruma/commit/690313a061f7a4fa614ec5cc8368b4f2284e059b

Reference: https://github.com/kkos/oniguruma/issues/56

Impacted products
Name
['Oniguruma Oniguruma 6.2.0', 'ruby-lang ruby <=2.4.1', 'PHP PHP <=7.1.5']
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2017-9225"
    }
  },
  "description": "mbstring\uff08Multi-Byte String\uff09\u662fPHP\uff08PHP\uff1aHypertext Preprocessor\uff0cPHP\uff1a\u8d85\u6587\u672c\u9884\u5904\u7406\u5668\uff09\u4e2d\u7684\u4e00\u4e2a\u8bed\u8a00\u7f16\u7801\u6269\u5c55\u5e93\uff1bOniguruma-mod\u662fRuby\uff08\u7f16\u7a0b\u8bed\u8a00\uff09\u4e2d\u7684\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u5e93\u3002Oniguruma\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u5f15\u64ce\u3002\r\n\r\nRuby 2.4.1\u53ca\u4e4b\u524d\u7684\u7248\u672c\u7684Oniguruma-mod\u548cPHP 7.1.5\u53ca\u4e4b\u524d\u7684\u7248\u672c\u7684mbstring\u4e2d\u4f7f\u7528\u7684Oniguruma 6.2.0\u7248\u672c\u7684\u0027onigenc_unicode_get_case_fold_codes_by_str()\u0027\u51fd\u6570\u5b58\u5728\u6808\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u62d2\u7edd\u670d\u52a1\uff08\u6808\u8d8a\u8fb9\u754c\u5199\u5165\uff09\u3002",
  "discovererName": "unknwon",
  "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://github.com/kkos/oniguruma/commit/690313a061f7a4fa614ec5cc8368b4f2284e059b",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2017-09870",
  "openTime": "2017-06-16",
  "patchDescription": "mbstring\uff08Multi-Byte String\uff09\u662fPHP\uff08PHP\uff1aHypertext Preprocessor\uff0cPHP\uff1a\u8d85\u6587\u672c\u9884\u5904\u7406\u5668\uff09\u4e2d\u7684\u4e00\u4e2a\u8bed\u8a00\u7f16\u7801\u6269\u5c55\u5e93\uff1bOniguruma-mod\u662fRuby\uff08\u7f16\u7a0b\u8bed\u8a00\uff09\u4e2d\u7684\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u5e93\u3002Oniguruma\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u5f15\u64ce\u3002\r\n\r\nRuby 2.4.1\u53ca\u4e4b\u524d\u7684\u7248\u672c\u7684Oniguruma-mod\u548cPHP 7.1.5\u53ca\u4e4b\u524d\u7684\u7248\u672c\u7684mbstring\u4e2d\u4f7f\u7528\u7684Oniguruma 6.2.0\u7248\u672c\u7684\u0027onigenc_unicode_get_case_fold_codes_by_str()\u0027\u51fd\u6570\u5b58\u5728\u6808\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u62d2\u7edd\u670d\u52a1\uff08\u6808\u8d8a\u8fb9\u754c\u5199\u5165\uff09\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": "Oniguruma \u0027onigenc_unicode_get_case_fold_codes_by_str()\u0027\u51fd\u6570\u6808\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Oniguruma Oniguruma 6.2.0",
      "ruby-lang ruby \u003c=2.4.1",
      "PHP PHP \u003c=7.1.5"
    ]
  },
  "referenceLink": "https://github.com/kkos/oniguruma/issues/56",
  "serverity": "\u9ad8",
  "submitTime": "2017-05-26",
  "title": "Oniguruma \u0027onigenc_unicode_get_case_fold_codes_by_str()\u0027\u51fd\u6570\u6808\u7f13\u51b2\u533a\u6ea2\u51fa\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.
  • 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…