Denial of Service (DoS) Affecting pcre package, versions [,6.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.22% (90th 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-UNMANAGED-PCRE-2319181
  • published14 Dec 2021
  • disclosed14 Nov 2007
  • creditUnknown

Introduced: 14 Nov 2007

CVE-2006-7227  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade pcre to version 6.7 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). Integer overflow in Perl-Compatible Regular Expression (PCRE) library before 6.7 allows context-dependent attackers to execute arbitrary code via a regular expression containing a large number of named subpatterns (name_count) or long subpattern names (max_name_size), which triggers a buffer overflow. NOTE: this issue was originally subsumed by CVE-2006-7224, but that CVE has been REJECTED and split.

CVSS Scores

version 3.1