cnvd-2017-09872
Vulnerability from cnvd
Title
Oniguruma 'mbc_enc_len()'函数堆栈边界读取漏洞
Description
mbstring(Multi-Byte String)是PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)中的一个语言编码扩展库;Oniguruma-mod是Ruby(编程语言)中的一个正则表达式库。Oniguruma是其中的一个正则表达式引擎。
Ruby中的Oniguruma-mod和PHP的mbstring中使用的Oniguruma的'mbc_enc_len()'函数存在安全漏洞。攻击者可利用该漏洞造成栈越边界读取。
Severity
高
        VLAI Severity ?
      
      Patch Name
Oniguruma 'mbc_enc_len()'函数堆栈边界读取漏洞的补丁
Patch Description
mbstring(Multi-Byte String)是PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)中的一个语言编码扩展库;Oniguruma-mod是Ruby(编程语言)中的一个正则表达式库。Oniguruma是其中的一个正则表达式引擎。
Ruby中的Oniguruma-mod和PHP的mbstring中使用的Oniguruma的'mbc_enc_len()'函数存在安全漏洞。攻击者可利用该漏洞造成栈越边界读取。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814
Reference
https://github.com/kkos/oniguruma/issues/58
https://nvd.nist.gov/vuln/detail/CVE-2017-9227
Impacted products
          | Name | ['PHP PHP 7.1.5', 'Oniguruma Oniguruma 6.2.0', 'ruby-lang ruby 2.4.1'] | 
|---|
{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2017-9227"
    }
  },
  "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\u4e2d\u7684Oniguruma-mod\u548cPHP\u7684mbstring\u4e2d\u4f7f\u7528\u7684Oniguruma\u7684\u0027mbc_enc_len()\u0027\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u6808\u8d8a\u8fb9\u754c\u8bfb\u53d6\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/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2017-09872",
  "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\u4e2d\u7684Oniguruma-mod\u548cPHP\u7684mbstring\u4e2d\u4f7f\u7528\u7684Oniguruma\u7684\u0027mbc_enc_len()\u0027\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u6808\u8d8a\u8fb9\u754c\u8bfb\u53d6\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 \u0027mbc_enc_len()\u0027\u51fd\u6570\u5806\u6808\u8fb9\u754c\u8bfb\u53d6\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "PHP PHP 7.1.5",
      "Oniguruma Oniguruma 6.2.0",
      "ruby-lang ruby 2.4.1"
    ]
  },
  "referenceLink": "https://github.com/kkos/oniguruma/issues/58\r\nhttps://nvd.nist.gov/vuln/detail/CVE-2017-9227",
  "serverity": "\u9ad8",
  "submitTime": "2017-05-26",
  "title": "Oniguruma \u0027mbc_enc_len()\u0027\u51fd\u6570\u5806\u6808\u8fb9\u754c\u8bfb\u53d6\u6f0f\u6d1e"
}
  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…