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