Out-of-Bounds Affecting pcre package, versions [,8.37)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
5.44% (94th 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-2319133
  • published14 Dec 2021
  • disclosed2 Dec 2015
  • creditUnknown

Introduced: 2 Dec 2015

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

How to fix?

Upgrade pcre to version 8.37 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The match function in pcre_exec.c in PCRE before 8.37 mishandles the /(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((*ACCEPT)))/ pattern and related patterns involving (*ACCEPT), which allows remote attackers to obtain sensitive information from process memory or cause a denial of service (partially initialized memory and application crash) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-2547.

CVSS Scores

version 3.1