Bug 1207202 (CVE-2015-2326)

Summary: CVE-2015-2326 pcre: heap buffer over-read in pcre_compile2() (8.37/23)
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adam.stokes, andrew, c.david86, erik-fedora, jorton, lkundrak, mmaslano, ppisar, rcollet, webstack-team
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pcre 8.38 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-15 13:24:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1390152    

Description Martin Prpič 2015-03-30 12:24:08 UTC
A flaw was found in the PCRE library:

PCRE library is prone to a vulnerability which leads to Heap overflow. Without enough bound checking inside pcre_compile2(), the heap memory could be overflowed via a crafted regular expression. Since PCRE library is widely used, this vulnerability should affect many applications. An attacker may exploit this issue to execute arbitrary code in the context of the user running the affected application.

Upstream issue:

http://bugs.exim.org/show_bug.cgi?id=1592

Upstream patch:

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

Statement:

This issue did not affect the versions of pcre as shipped with Red Hat Enterprise Linux 5, 6, and 7.

Comment 1 Tomas Hoger 2016-10-31 13:24:24 UTC
8.34 seems to be the first affected upstream version.

Comment 2 errata-xmlrpc 2016-11-15 11:46:26 UTC
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