Philip Hazel PCRE up to 8.38 pcre_compile.c compile_branch memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.5 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Philip Hazel PCRE up to 8.38. Impacted is the function compile_branch of the file pcre_compile.c. The manipulation leads to memory corruption.
This vulnerability is listed as CVE-2016-3191. The attack may be initiated remotely. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Philip Hazel PCRE up to 8.38 (Programming Tool Software) and classified as critical. This issue affects the function compile_branch of the file pcre_compile.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.
The weakness was presented 03/18/2016 as ZDI-CAN-3542 as confirmed bug report (Bugzilla) via ZDI (Zero Day Initiative). It is possible to read the advisory at bugzilla.redhat.com. The identification of this vulnerability is CVE-2016-3191 since 03/15/2016. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 90050 (FreeBSD : pcre -- stack buffer overflow (7033b42d-ef09-11e5-b766-14dae9d210b8)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157182 (Oracle Enterprise Linux Security Update for pcre (ELSA-2016-1025)).
Upgrading to version 8.39 eliminates this vulnerability. A possible mitigation has been published 3 days after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 24049.
The vulnerability is also documented in the databases at X-Force (111583), Tenable (90050), SecurityFocus (BID 84810†) and Vulnerability Center (SBV-57659†). See VDB-75695, VDB-79381, VDB-79382 and VDB-79384 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 8.5
- 8.6
- 8.7
- 8.8
- 8.9
- 8.10
- 8.11
- 8.12
- 8.13
- 8.14
- 8.15
- 8.16
- 8.17
- 8.18
- 8.19
- 8.20
- 8.21
- 8.22
- 8.23
- 8.24
- 8.25
- 8.26
- 8.27
- 8.28
- 8.29
- 8.30
- 8.31
- 8.32
- 8.33
- 8.34
- 8.35
- 8.36
- 8.37
- 8.38
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB Meta Temp Score: 9.1
VulDB Base Score: 9.8
VulDB Temp Score: 8.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 90050
Nessus Name: FreeBSD : pcre -- stack buffer overflow (7033b42d-ef09-11e5-b766-14dae9d210b8)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 881932
OpenVAS Name: CentOS Update for pcre CESA-2016:1025 centos7
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
Exposure Time: 🔍
Upgrade: PCRE 8.39
TippingPoint: 🔍
Timeline
03/15/2016 🔍03/17/2016 🔍
03/17/2016 🔍
03/17/2016 🔍
03/18/2016 🔍
03/18/2016 🔍
03/21/2016 🔍
03/21/2016 🔍
03/23/2016 🔍
02/02/2019 🔍
Sources
Advisory: ZDI-CAN-3542Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-3191 (🔍)
GCVE (CVE): GCVE-0-2016-3191
GCVE (VulDB): GCVE-100-81383
X-Force: 111583 - PCRE and PCRE2 pcre_compile.c buffer overflow
SecurityFocus: 84810 - PCRE CVE-2016-3191 Buffer Overflow Vulnerability
Vulnerability Center: 57659 - PCRE 8 - 8.38 and PCRE2 <10.22 Remote Code Execution Vulnerability, Medium
See also: 🔍
Entry
Created: 03/18/2016 08:45Updated: 02/02/2019 11:29
Changes: 03/18/2016 08:45 (83), 02/02/2019 11:29 (12)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.