cnvd-2015-07894
Vulnerability from cnvd
Title
PCRE2和PCRE拒绝服务漏洞
Description
PCRE(Perl Compatible Regular Expressions)和PCRE2都是软件开发者Philip Hazel所研发的产品。前者是一个使用C语言编写的开源正则表达式函数库,后者是一个用于修改PCRE的API。
PCRE2 10.2x之前版本的pcre2_compile.c文件和PCRE 8.38之前版本的pcre_compile.c文件中的‘compile_regex’函数存在安全漏洞,该漏洞源于程序未能正确处理‘/(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/’、‘/(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/’模式和带有组引用的相关模式。远程攻击者可借助特制的正则表达式利用该漏洞造成拒绝服务(基于堆的缓冲区溢出)。
Severity
高
VLAI Severity ?
Patch Name
PCRE2和PCRE拒绝服务漏洞的补丁
Patch Description
PCRE(Perl Compatible Regular Expressions)和PCRE2都是软件开发者Philip Hazel所研发的产品。前者是一个使用C语言编写的开源正则表达式函数库,后者是一个用于修改PCRE的API。
PCRE2 10.2x之前版本的pcre2_compile.c文件和PCRE 8.38之前版本的pcre_compile.c文件中的‘compile_regex’函数存在安全漏洞,该漏洞源于程序未能正确处理‘/(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/’、‘/(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/’模式和带有组引用的相关模式。远程攻击者可借助特制的正则表达式利用该漏洞造成拒绝服务(基于堆的缓冲区溢出)。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
Reference
http://www.openwall.com/lists/oss-security/2015/11/29/1
Impacted products
| Name | PCRE PCRE <8.38 |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2015-8381"
}
},
"description": "PCRE\uff08Perl Compatible Regular Expressions\uff09\u548cPCRE2\u90fd\u662f\u8f6f\u4ef6\u5f00\u53d1\u8005Philip Hazel\u6240\u7814\u53d1\u7684\u4ea7\u54c1\u3002\u524d\u8005\u662f\u4e00\u4e2a\u4f7f\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u5f00\u6e90\u6b63\u5219\u8868\u8fbe\u5f0f\u51fd\u6570\u5e93\uff0c\u540e\u8005\u662f\u4e00\u4e2a\u7528\u4e8e\u4fee\u6539PCRE\u7684API\u3002\r\n\r\nPCRE2 10.2x\u4e4b\u524d\u7248\u672c\u7684pcre2_compile.c\u6587\u4ef6\u548cPCRE 8.38\u4e4b\u524d\u7248\u672c\u7684pcre_compile.c\u6587\u4ef6\u4e2d\u7684\u2018compile_regex\u2019\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u672a\u80fd\u6b63\u786e\u5904\u7406\u2018/(?J:(?|(:(?|(?\u0027R\u0027)(\\k\u0027R\u0027)|((?\u0027R\u0027)))H\u0027Rk\u0027Rf)|s(?\u0027R\u0027))))/\u2019\u3001\u2018/(?J:(?|(:(?|(?\u0027R\u0027)(\\z(?|(?\u0027R\u0027)(\\k\u0027R\u0027)|((?\u0027R\u0027)))k\u0027R\u0027)|((?\u0027R\u0027)))H\u0027Ak\u0027Rf)|s(?\u0027R\u0027)))/\u2019\u6a21\u5f0f\u548c\u5e26\u6709\u7ec4\u5f15\u7528\u7684\u76f8\u5173\u6a21\u5f0f\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u7279\u5236\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u62d2\u7edd\u670d\u52a1\uff08\u57fa\u4e8e\u5806\u7684\u7f13\u51b2\u533a\u6ea2\u51fa\uff09\u3002",
"discovererName": "LLVM fuzzer",
"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\nhttp://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2015-07894",
"openTime": "2015-12-03",
"patchDescription": "PCRE\uff08Perl Compatible Regular Expressions\uff09\u548cPCRE2\u90fd\u662f\u8f6f\u4ef6\u5f00\u53d1\u8005Philip Hazel\u6240\u7814\u53d1\u7684\u4ea7\u54c1\u3002\u524d\u8005\u662f\u4e00\u4e2a\u4f7f\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u5f00\u6e90\u6b63\u5219\u8868\u8fbe\u5f0f\u51fd\u6570\u5e93\uff0c\u540e\u8005\u662f\u4e00\u4e2a\u7528\u4e8e\u4fee\u6539PCRE\u7684API\u3002\r\n\r\nPCRE2 10.2x\u4e4b\u524d\u7248\u672c\u7684pcre2_compile.c\u6587\u4ef6\u548cPCRE 8.38\u4e4b\u524d\u7248\u672c\u7684pcre_compile.c\u6587\u4ef6\u4e2d\u7684\u2018compile_regex\u2019\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u672a\u80fd\u6b63\u786e\u5904\u7406\u2018/(?J:(?|(:(?|(?\u0027R\u0027)(\\k\u0027R\u0027)|((?\u0027R\u0027)))H\u0027Rk\u0027Rf)|s(?\u0027R\u0027))))/\u2019\u3001\u2018/(?J:(?|(:(?|(?\u0027R\u0027)(\\z(?|(?\u0027R\u0027)(\\k\u0027R\u0027)|((?\u0027R\u0027)))k\u0027R\u0027)|((?\u0027R\u0027)))H\u0027Ak\u0027Rf)|s(?\u0027R\u0027)))/\u2019\u6a21\u5f0f\u548c\u5e26\u6709\u7ec4\u5f15\u7528\u7684\u76f8\u5173\u6a21\u5f0f\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u7279\u5236\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u62d2\u7edd\u670d\u52a1\uff08\u57fa\u4e8e\u5806\u7684\u7f13\u51b2\u533a\u6ea2\u51fa\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": "PCRE2\u548cPCRE\u62d2\u7edd\u670d\u52a1\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": "PCRE PCRE \u003c8.38"
},
"referenceLink": "http://www.openwall.com/lists/oss-security/2015/11/29/1",
"serverity": "\u9ad8",
"submitTime": "2015-12-02",
"title": "PCRE2\u548cPCRE\u62d2\u7edd\u670d\u52a1\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…