Uncontrolled Recursion Affecting pcre package, versions <0:8.32-15.el7_2.1


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.31% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PCRE-5116771
  • published26 Jul 2021
  • disclosed3 Jun 2015

Introduced: 3 Jun 2015

CVE-2015-3217  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade RHEL:7 pcre to version 0:8.32-15.el7_2.1 or higher.
This issue was patched in RHSA-2016:1025.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcre package and not the pcre package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

PCRE 7.8 and 8.32 through 8.37, and PCRE2 10.10 mishandle group empty matches, which might allow remote attackers to cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by /^(?:(?(1)\.|([^\\W_])?)+)+$/.

CVSS Scores

version 3.1