Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1434504 - (CVE-2017-7186) CVE-2017-7186 pcre: Invalid Unicode property lookup (8.41/7, 10.24/2)
CVE-2017-7186 pcre: Invalid Unicode property lookup (8.41/7, 10.24/2)
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170223,repor...
: Security
Depends On: 1434513 1434515 1434516 1434517 1434511 1434512 1434514
Blocks: 1434510 1439436
  Show dependency treegraph
 
Reported: 2017-03-21 11:59 EDT by Andrej Nemec
Modified: 2018-08-16 12:08 EDT (History)
38 users (show)

See Also:
Fixed In Version: pcre 8.41, pcre2 10.24
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-07 23:41:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2486 None None None 2018-08-16 12:08 EDT

  None (edit)
Description Andrej Nemec 2017-03-21 11:59:22 EDT
A vulnerability was found in pcre caused by trying to find a Unicode property for a code value greater than 0x10ffff, the Unicode maximum, when running in non-UTF mode (where character values can be up to 0xffffffff).

Upstream bug:

https://bugs.exim.org/show_bug.cgi?id=2052

References:

https://blogs.gentoo.org/ago/2017/03/14/libpcre-invalid-memory-read-in-match-pcre_exec-c/

Upstream patches (pcre):

https://vcs.pcre.org/pcre?view=revision&revision=1688

Upstream patches (pcre2):

https://vcs.pcre.org/pcre2?view=revision&revision=670
Comment 1 Andrej Nemec 2017-03-21 12:04:00 EDT
Created glib2 tracking bugs for this issue:

Affects: fedora-all [bug 1434517]


Created mingw-glib2 tracking bugs for this issue:

Affects: epel-7 [bug 1434515]
Affects: fedora-all [bug 1434514]


Created mingw-pcre tracking bugs for this issue:

Affects: epel-7 [bug 1434516]
Affects: fedora-all [bug 1434513]


Created pcre2 tracking bugs for this issue:

Affects: epel-6 [bug 1434511]
Affects: epel-7 [bug 1434512]
Comment 3 Petr Pisar 2017-04-18 08:38:04 EDT
The same issue exists in JIT code and it was fixed separately with SVN r720 commit:

From 749c2eb6994ee26c1fcf1eb7b57faf5c84e9878b Mon Sep 17 00:00:00 2001
From: zherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>
Date: Fri, 31 Mar 2017 05:40:37 +0000
Subject: [PATCH] Fix character type detection when 32-bit and UCP are enabled
 but UTF is not in JIT.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@720 6239d852-aaf2-0410-a92c-79f79f948069
Comment 4 Petr Pisar 2017-04-21 04:18:57 EDT
And the same issue in JIT code in PCRE1 was fixed with SVN r1693 commit:

From 3b8f1ab07fb1744c57f5d04c872e81d8d669de87 Mon Sep 17 00:00:00 2001
From: zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date: Fri, 31 Mar 2017 05:41:17 +0000
Subject: [PATCH] Fix character type detection when 32-bit and UCP are enabled
 but UTF is not in JIT.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1693 2f5784b3-3f2a-0410-8824-cb99058d5e15
Comment 5 Doran Moppert 2017-06-06 21:51:08 EDT
This issue is specific to PCRE32 (utf-32) mode, which is not available in the pcre-7.8 (shipped in 6.x) and not enabled in the various bundling components (glib, virtuoso, php, mariadb).
Comment 6 Doran Moppert 2017-06-07 23:41:31 EDT
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 7 errata-xmlrpc 2018-08-16 12:08:25 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2018:2486 https://access.redhat.com/errata/RHSA-2018:2486

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