Out-of-Bounds Affecting pcre package, versions [0,8.38)


Severity

Recommended
0.0
high
0
10

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

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-UNMANAGED-PCRE-2319165
  • published14 Dec 2021
  • disclosed13 Dec 2016
  • creditUnknown

Introduced: 13 Dec 2016

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

How to fix?

Upgrade pcre to version 8.38 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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_])?)+)+$/.

References

CVSS Scores

version 3.1