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


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
2.05% (89th 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-2319160
  • published14 Dec 2021
  • disclosed3 Jan 2016
  • creditUnknown

Introduced: 3 Jan 2016

CVE-2016-1283  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade pcre to version 8.39 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'){97)?J)?J)(?'R'(?'R'){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.

References

CVSS Scores

version 3.1