Out-of-bounds Read Affecting pcre2-devel package, versions <0:10.23-11.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.38% (74th 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-AMZN2-PCRE2DEVEL-3110052
  • published9 Nov 2022
  • disclosed16 May 2022

Introduced: 16 May 2022

CVE-2022-1586  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 pcre2-devel to version 0:10.23-11.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1871.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcre2-devel package and not the pcre2-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.

References

CVSS Base Scores

version 3.1