Bug 1287711 - (CVE-2015-8381, CVE-2015-8395) CVE-2015-8381 CVE-2015-8395 pcre: Buffer overflow caused by duplicate named references (8.38/36)
CVE-2015-8381 CVE-2015-8395 pcre: Buffer overflow caused by duplicate named r...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20151123,repo...
: Security
: 1256449 (view as bug list)
Depends On: 1256452 1287719 1287720 1287721 1287722 1330455 1330456
Blocks: 1287727
  Show dependency treegraph
 
Reported: 2015-12-02 09:16 EST by Adam Mariš
Modified: 2016-11-15 08:43 EST (History)
17 users (show)

See Also:
Fixed In Version: pcre 8.38
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-15 08:43:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2015-12-02 09:16:08 EST
It was discovered that PCRE before 8.38 mishandles certain references, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted regular expression. This issue is similar to CVE-2015-8384 and CVE-2015-8392.
Comment 1 Adam Mariš 2015-12-02 09:25:09 EST
Created pcre tracking bugs for this issue:

Affects: fedora-all [bug 1287719]
Comment 2 Adam Mariš 2015-12-02 09:25:16 EST
Created glib2 tracking bugs for this issue:

Affects: fedora-all [bug 1287721]
Comment 3 Adam Mariš 2015-12-02 09:25:24 EST
Created mingw-pcre tracking bugs for this issue:

Affects: fedora-all [bug 1287720]
Affects: epel-7 [bug 1287722]
Comment 4 Adam Mariš 2015-12-02 10:24:57 EST
Corresponds to item 36 in http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
Comment 5 Petr Pisar 2015-12-02 11:16:45 EST
Fixed in upstream with:

commit f25903ade90a9177cf1175eb48fb36e500b3cca4
Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date:   Fri Aug 21 16:08:33 2015 +0000

    Hack in yet other patch for a bug in size computation that is fixed "properl
y"
    in PCRE2.
    
    
    git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1594 2f5784b3-3f2a-0410-8824-
cb99058d5e15
Comment 6 Petr Pisar 2015-12-03 09:38:01 EST
This is a duplicate of CVE-2015-8381 (bug #1256449).
Comment 7 Tomas Hoger 2016-02-19 15:46:26 EST
(In reply to Petr Pisar from comment #5)
> commit f25903ade90a9177cf1175eb48fb36e500b3cca4
> Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
> Date:   Fri Aug 21 16:08:33 2015 +0000
> 
> Hack in yet other patch for a bug in size computation that is fixed
> "properly" in PCRE2.

Upstream commit link:

http://vcs.pcre.org/pcre?view=revision&revision=1594

Upstream bug report, linked from the duplicate CVE-2015-8381:

https://bugs.exim.org/show_bug.cgi?id=1672
Comment 8 Tomas Hoger 2016-02-19 15:52:06 EST
Yet another issue introduced in upstream version 8.34, which refactored named group handling code and apparently several bugs were introduced in the process.
Comment 9 Tomas Hoger 2016-02-19 16:21:54 EST
(In reply to Tomas Hoger from comment #7)
> Upstream commit link:
> 
> http://vcs.pcre.org/pcre?view=revision&revision=1594

Note that this patch needs to be applied after patch for CVE-2015-8392 (bug 1287690).
Comment 10 Tomas Hoger 2016-02-22 16:28:36 EST
*** Bug 1256449 has been marked as a duplicate of this bug. ***
Comment 12 errata-xmlrpc 2016-05-26 04:42:41 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS

Via RHSA-2016:1132 https://access.redhat.com/errata/RHSA-2016:1132
Comment 13 errata-xmlrpc 2016-11-15 06:48:52 EST
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2016:2750 https://rhn.redhat.com/errata/RHSA-2016-2750.html

Note You need to log in before you can comment on or make changes to this bug.