CVE-2015-8381
pcre: Buffer overflow caused by duplicate named references (8.38/36)
Overview
Description
The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness: CWE-119
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 6 fixes
Red Hat 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-php56 +2 | 0:2.3-1.el7 | RHSA-2016:2750 |
| 7 | rh-php56-php +26 | 0:5.6.25-1.el7 | RHSA-2016:2750 |
| 7 | rh-php56-php-pear | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| 7 | rh-mariadb100-mariadb +8 | 1:10.0.25-4.el7 | RHSA-2016:1132 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pcre3 | 2:8.38-1 |
| 12 | pcre3 | 2:8.38-1 |
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2750.html
- vcs.pcre.org http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
- www.openwall.com http://www.openwall.com/lists/oss-security/2015/08/05/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2015/08/24/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2015/11/29/1
- www.securityfocus.com http://www.securityfocus.com/bid/76187
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1132
- access.redhat.com https://access.redhat.com/security/cve/CVE-2015-8381
- bto.bluecoat.com https://bto.bluecoat.com/security-advisory/sa128
- bugs.exim.org https://bugs.exim.org/show_bug.cgi?id=1667
Show all 15 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.