Uncontrolled Recursion Affecting pcre package, versions <7.8-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.32% (71st 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-ALPINE320-PCRE-7010890
  • published23 May 2024
  • disclosed11 Jul 2017

Introduced: 11 Jul 2017

CVE-2017-11164  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 pcre to version 7.8-r0 or higher.

NVD Description

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

In PCRE 8.41, the OP_KETRMAX feature in the match function in pcre_exec.c allows stack exhaustion (uncontrolled recursion) when processing a crafted regular expression.